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

Commit 463ba436 authored by Winson's avatar Winson Committed by Winson Chung
Browse files

Fixing minor regression with system bar scrims.

Change-Id: I0cf508c26b3a71c604a3061b05abb47cac5a9bb2
parent 6f02b865
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ public class RecentsActivityLaunchState {

    /** Returns whether the status bar scrim should be animated when shown for the first time. */
    public boolean shouldAnimateStatusBarScrim() {
        return launchedFromHome;
        return true;
    }

    /** Returns whether the status bar scrim should be visible. */
@@ -72,6 +72,6 @@ public class RecentsActivityLaunchState {
    /** Returns whether the nav bar scrim should be visible. */
    public boolean hasNavBarScrim() {
        // Only show the scrim if we have recent tasks, and if the nav bar is not transposed
        return !launchedWithNoRecentTasks && mConfig.hasTransposedNavBar;
        return !launchedWithNoRecentTasks && !mConfig.hasTransposedNavBar;
    }
}