Fixing minor regression with system bar scrims.

Change-Id: I0cf508c26b3a71c604a3061b05abb47cac5a9bb2
This commit is contained in:
Winson
2015-10-27 12:50:29 -07:00
committed by Winson Chung
parent 6f02b865df
commit 463ba436d2

View File

@@ -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;
}
}