summaryrefslogtreecommitdiffstats
path: root/policy/src
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2013-10-03 11:46:06 -0400
committerJohn Spurlock <jspurlock@google.com>2013-10-03 11:46:06 -0400
commit8e0ca288fe3f7bbb7d25751fa00be218b3940f18 (patch)
tree86d9c561f505059f70769562db39d15072d083aa /policy/src
parent778c2de060473636ba7237a460b53a2f03f50f05 (diff)
downloadframeworks_base-8e0ca288fe3f7bbb7d25751fa00be218b3940f18.zip
frameworks_base-8e0ca288fe3f7bbb7d25751fa00be218b3940f18.tar.gz
frameworks_base-8e0ca288fe3f7bbb7d25751fa00be218b3940f18.tar.bz2
Window decor rect should not include the nav bar if hidden.
Bug:11059726 Change-Id: Ia445af030ac34da8e361d909978caa3f2793cfda
Diffstat (limited to 'policy/src')
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindowManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
index 54a5107..3232a1e 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -3007,7 +3007,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
// Ensure policy decor includes status bar
dcf.top = mStableTop;
}
- if ((sysUiFl & View.SYSTEM_UI_FLAG_TRANSPARENT_NAVIGATION) == 0) {
+ if ((sysUiFl & View.SYSTEM_UI_FLAG_TRANSPARENT_NAVIGATION) == 0
+ && (sysUiFl & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0) {
// Ensure policy decor includes navigation bar
dcf.bottom = mStableBottom;
dcf.right = mStableRight;