Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19292445 authored by Santhosh Thangaraj's avatar Santhosh Thangaraj
Browse files

Fix the page number based Seen impression.

Test: On device.
Bug: 183117427
Change-Id: Ic1b11fb7630f60f11387951749420653aa3f0c8a
parent fc89cdfc
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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;
        }
    }