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

Commit 41f72daf authored by Kshitij's avatar Kshitij
Browse files

fix: Properly determine home screen using isInLauncher too

- Also check spring_loaded
parent 46b781b5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -609,7 +609,8 @@ public class TaskbarLauncherStateController {
    }

    boolean isInHome() {
        return mLauncherState == LauncherState.NORMAL;
        return isInLauncher() &&
                (mLauncherState == LauncherState.NORMAL || mLauncherState == LauncherState.SPRING_LOADED);
    }

    private void playStateTransitionAnim(AnimatorSet animatorSet, long duration,