summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2013-05-28 14:58:50 -0400
committerJohn Spurlock <jspurlock@google.com>2013-05-28 14:58:50 -0400
commitd85618ef574524a8d36fa7751c2277c4d72e4927 (patch)
treedc942dcf3dddec64dea40a6b9773d4892f5cbea6 /policy
parentdadfb9c9bfe17eb99a4891af0fe4eed7166f0b86 (diff)
downloadframeworks_base-d85618ef574524a8d36fa7751c2277c4d72e4927.zip
frameworks_base-d85618ef574524a8d36fa7751c2277c4d72e4927.tar.gz
frameworks_base-d85618ef574524a8d36fa7751c2277c4d72e4927.tar.bz2
Clear low profile bit when showing hideybars.
Consider this an interaction, ensures that the hideybar does not reveal itself in low profile mode. Bug: 9102473 Change-Id: I8819a7d3d7aef0e08afb6f8c574c0ac519066cca
Diffstat (limited to 'policy')
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindowManager.java2
1 files changed, 2 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 85121fe..550a328 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -5117,6 +5117,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
// show status hideybar
tmpVisibility |= View.STATUS_BAR_OVERLAY;
if ((mLastSystemUiFlags & View.STATUS_BAR_OVERLAY) == 0) {
+ tmpVisibility &= ~View.SYSTEM_UI_FLAG_LOW_PROFILE;
mStatusBar.showLw(true);
}
}
@@ -5133,6 +5134,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
// show navigation hideybar
tmpVisibility |= View.NAVIGATION_BAR_OVERLAY;
if ((mLastSystemUiFlags & View.NAVIGATION_BAR_OVERLAY) == 0) {
+ tmpVisibility &= ~View.SYSTEM_UI_FLAG_LOW_PROFILE;
mNavigationBar.showLw(true);
}
}