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() {
mActiveDream = mDreamInfo;
mBackend.setActiveDream(mDreamInfo.componentName);
mMetricsFeatureProvider.action(
mContext,
SettingsEnums.ACTION_DREAM_SELECT_TYPE,
mDreamInfo.componentName.flattenToString());
mMetricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN,
SettingsEnums.ACTION_DREAM_SELECT_TYPE, SettingsEnums.PAGE_UNKNOWN,
mDreamInfo.componentName.flattenToString(), 1);
}
@Override