Merge "Fix the page number based Seen impression." into sc-dev

This commit is contained in:
Santhosh Thangaraj authored and Android (Google) Code Review committed 2021-06-15 15:20:40 +00:00
commit 4d61c56200
1 file changed
+7 -1
+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;
}
}