summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-05-21 17:10:10 -0400
committerJohn Spurlock <jspurlock@google.com>2014-05-21 17:10:10 -0400
commit8fdfe624aa5ed68eaac060f82bc400f878bff95e (patch)
tree4069ffa0e7caf6bae6c6288a57323814b37e174d /policy
parent5639828a62d2b382e6ea46eae0fe9d2fc1fd73ba (diff)
downloadframeworks_base-8fdfe624aa5ed68eaac060f82bc400f878bff95e.zip
frameworks_base-8fdfe624aa5ed68eaac060f82bc400f878bff95e.tar.gz
frameworks_base-8fdfe624aa5ed68eaac060f82bc400f878bff95e.tar.bz2
Hide the keyguard scrim when the status bar comes back.
Since status bar is now the keyguard. This is an attempt to fix the bad state where the KeyguardScrim is shown incorrectly when SystemUI is forcibly replaced. Change-Id: I0416ed400e023a3fa136ce5f884f191edbbd6b94
Diffstat (limited to 'policy')
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindowManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
index 99dd2f4..9977193 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -1744,6 +1744,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
}
mStatusBar = win;
mStatusBarController.setWindow(win);
+ mKeyguardDelegate.hideScrim();
break;
case TYPE_NAVIGATION_BAR:
mContext.enforceCallingOrSelfPermission(