From 8fdfe624aa5ed68eaac060f82bc400f878bff95e Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Wed, 21 May 2014 17:10:10 -0400 Subject: 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 --- policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'policy') 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( -- cgit v1.1