summaryrefslogtreecommitdiffstats
path: root/policy/src/com/android
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-04-08 15:13:05 +0200
committerJorim Jaggi <jjaggi@google.com>2014-04-08 19:04:42 +0200
commitafd4a5531acdd39c7aa12b9cbd82e76510211ca7 (patch)
tree7b4ce1dd986ebb6ad85f4555fde0cce5df8eb8b9 /policy/src/com/android
parent33ff58cdcef5751d83e8d465607ded7b5710575f (diff)
downloadframeworks_base-afd4a5531acdd39c7aa12b9cbd82e76510211ca7.zip
frameworks_base-afd4a5531acdd39c7aa12b9cbd82e76510211ca7.tar.gz
frameworks_base-afd4a5531acdd39c7aa12b9cbd82e76510211ca7.tar.bz2
Force status bar showing when Keyguard is showing.
Bug: 13635952 Change-Id: I5015f17010c853f70f5622b774b2c5b4e1d8332f
Diffstat (limited to 'policy/src/com/android')
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindowManager.java4
1 files changed, 4 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 62878e9..8a06c8a 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -3391,6 +3391,10 @@ public class PhoneWindowManager implements WindowManagerPolicy {
mForcingShowNavBar = true;
mForcingShowNavBarLayer = win.getSurfaceLayer();
}
+ if (attrs.type == TYPE_STATUS_BAR && (attrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0) {
+ mTopFullscreenOpaqueWindowState = win;
+ mForceStatusBarFromKeyguard = true;
+ }
if (mTopFullscreenOpaqueWindowState == null &&
win.isVisibleOrBehindKeyguardLw() && !win.isGoneForLayoutLw()) {
if ((fl & FLAG_FORCE_NOT_FULLSCREEN) != 0) {