commit | 7c901adae1d4996e3a847bcca06ff740abf6792e | [log] [tgz] |
---|---|---|
author | Santhosh Thangaraj <thangaraj@google.com> | Tue Jun 15 15:39:08 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jun 15 15:39:08 2021 +0000 |
tree | bd688eb32940bcc15e81cd4f4130309849e3c35f | |
parent | e3d7a5ca0d5b6755c9e00497521a39362c4ba211 [diff] | |
parent | 8134028a3a09398502d583e5e9c739fbf797c4ed [diff] |
Merge "Fix the page number based Seen impression." into sc-dev am: 4d61c56200 am: 8134028a3a Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14905388 Change-Id: Ide71a3f08a57904b739f3bccd2aebd0cd50670ea
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index a0d15da..5e06757 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java
@@ -1079,7 +1079,13 @@ // Making sure mAllAppsSessionLogId is not null to avoid double logging. && mAllAppsSessionLogId != null) { getAppsView().getSearchUiManager().resetSearch(); - getStatsLogManager().logger().log(LAUNCHER_ALLAPPS_EXIT); + getStatsLogManager().logger() + .withContainerInfo(LauncherAtom.ContainerInfo.newBuilder() + .setWorkspace( + LauncherAtom.WorkspaceContainer.newBuilder() + .setPageIndex(getWorkspace().getCurrentPage())) + .build()) + .log(LAUNCHER_ALLAPPS_EXIT); mAllAppsSessionLogId = null; } }