summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2015-01-16 10:31:15 -0800
committerClark Scheff <clark@cyngn.com>2015-10-27 10:38:42 -0700
commit607f76114ba5665c9ac7866da1a42cb89ccac6f2 (patch)
tree02fe952911d9fc08f22265784325cba30333fc95 /packages
parent097ea2005d66fa3c5c4dd9febbbdeef73b7fce7e (diff)
downloadframeworks_base-607f76114ba5665c9ac7866da1a42cb89ccac6f2.zip
frameworks_base-607f76114ba5665c9ac7866da1a42cb89ccac6f2.tar.gz
frameworks_base-607f76114ba5665c9ac7866da1a42cb89ccac6f2.tar.bz2
Themes: Call startKeyguard() when recreating status bar
mStatusBarKeyguardViewManager holds on to a reference of ScrimController and we need to update this otherwise the scrim will remain on the screen and consume all touch events. This is easily reproduced by changing a theme and then turning the screen off and on to display the keyguard. Once the keyguard is dismissed the scrim remains on the screen. Change-Id: Ie050a951117ed4aebef4ea3343366b9b9361b8a6
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
index e58f38e..cb418c4 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -3427,6 +3427,8 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
mRecreating = false;
}
});
+ // restart the keyguard so it picks up the newly created ScrimController
+ startKeyguard();
}
private void removeAllViews(ViewGroup parent) {