From 900ece502fffeebcc623df60e421bedbca4aa955 Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Fri, 18 Oct 2013 15:53:27 -0400 Subject: Do not show immersive mode help in touch exploration mode. Bug: 11277364 Change-Id: Ifafcbff38e34c0ef08d9a466d93ce591369183a3 --- policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'policy/src') 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(); } /** -- cgit v1.1