Merge "Log a-z apps count." into tm-qpr-dev

This commit is contained in:
Holly Jiuyu Sun authored and Android (Google) Code Review committed 2022-10-25 17:50:19 +00:00
commit 381ba3319d
3 files changed
+26 -2

No files matched your search

@@ -15,6 +15,7 @@
*/
package com.android.launcher3.allapps;
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_COUNT;
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_TAP_ON_PERSONAL_TAB;
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_TAP_ON_WORK_TAB;
@@ -245,6 +246,10 @@ public abstract class BaseAllAppsContainerView<T extends Context & ActivityConte
mWorkManager.reset();
}
}
mActivityContext.getStatsLogManager().logger()
.withCardinality(mAllAppsStore.getApps().length)
.log(LAUNCHER_ALLAPPS_COUNT);
}
/**