Merge "Update the function used to log the dream picking events." into tm-dev

This commit is contained in:
Xiaowen Lei
2022-04-06 15:04:57 +00:00
committed by Android (Google) Code Review

View File

@@ -141,10 +141,9 @@ public class DreamPickerController extends BasePreferenceController implements
public void onItemClicked() { public void onItemClicked() {
mActiveDream = mDreamInfo; mActiveDream = mDreamInfo;
mBackend.setActiveDream(mDreamInfo.componentName); mBackend.setActiveDream(mDreamInfo.componentName);
mMetricsFeatureProvider.action( mMetricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN,
mContext, SettingsEnums.ACTION_DREAM_SELECT_TYPE, SettingsEnums.PAGE_UNKNOWN,
SettingsEnums.ACTION_DREAM_SELECT_TYPE, mDreamInfo.componentName.flattenToString(), 1);
mDreamInfo.componentName.flattenToString());
} }
@Override @Override