From 463ba436d22fff2797c996e222fcbe519fd04c50 Mon Sep 17 00:00:00 2001 From: Winson Date: Tue, 27 Oct 2015 12:50:29 -0700 Subject: [PATCH] Fixing minor regression with system bar scrims. Change-Id: I0cf508c26b3a71c604a3061b05abb47cac5a9bb2 --- .../android/systemui/recents/RecentsActivityLaunchState.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java b/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java index e2e0e918ab511..76b666fec1b6f 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java +++ b/packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.java @@ -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; } }