Merge "Fix the page number based Seen impression." into sc-dev am: 4d61c56200

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14905388

Change-Id: I02ad15f9088ea5bda3790214f5626587ad8cfd3a
This commit is contained in:
Santhosh Thangaraj
2021-06-15 15:30:12 +00:00
committed by Automerger Merge Worker
+7 -1
View File
@@ -1080,7 +1080,13 @@ public class Launcher extends StatefulActivity<LauncherState> implements Launche
// 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;
}
}