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

Commit 64aefedf authored by Jon Miranda's avatar Jon Miranda Committed by Jonathan Miranda
Browse files

Fix bug where non-center page is visibile in HINT_STATE.

Bug: 160122854
Change-Id: I3d970e49aa891f5c9ccda60a6d6f4f73dd0a9f03
(cherry picked from commit e3832229)
parent faea66fe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -250,7 +250,8 @@ public abstract class LauncherState implements BaseState<LauncherState> {
    }

    public PageAlphaProvider getWorkspacePageAlphaProvider(Launcher launcher) {
        if (this != NORMAL || !launcher.getDeviceProfile().shouldFadeAdjacentWorkspaceScreens()) {
        if ((this != NORMAL && this != HINT_STATE)
                || !launcher.getDeviceProfile().shouldFadeAdjacentWorkspaceScreens()) {
            return DEFAULT_ALPHA_PROVIDER;
        }
        final int centerPage = launcher.getWorkspace().getNextPage();