summaryrefslogtreecommitdiffstats
path: root/policy/src
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2013-10-18 15:53:27 -0400
committerDaniel Sandler <dsandler@android.com>2013-10-18 16:05:07 -0400
commit900ece502fffeebcc623df60e421bedbca4aa955 (patch)
tree04c7d58d17ae46ea30f73e3af2a66d2fca3d6852 /policy/src
parent82f31701141f5c3057b162cba1d57f78cbad5091 (diff)
downloadframeworks_base-900ece502fffeebcc623df60e421bedbca4aa955.zip
frameworks_base-900ece502fffeebcc623df60e421bedbca4aa955.tar.gz
frameworks_base-900ece502fffeebcc623df60e421bedbca4aa955.tar.bz2
Do not show immersive mode help in touch exploration mode.
Bug: 11277364 Change-Id: Ifafcbff38e34c0ef08d9a466d93ce591369183a3
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 816672f..dcaf3d6 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -5186,7 +5186,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
final int flags = View.SYSTEM_UI_FLAG_IMMERSIVE | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
return mNavigationBar != null
&& (vis & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) != 0
- && (vis & flags) != 0;
+ && (vis & flags) != 0
+ && canHideNavigationBar();
}
/**