summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2013-09-05 09:37:56 -0400
committerJohn Spurlock <jspurlock@google.com>2013-09-05 09:37:56 -0400
commit9e7884a091286568a665fd2f9753babe1c17269c (patch)
tree2b9b5c763527c6cc87fca9d8429411f381df626e /policy
parentd2676f9bd93c333ae2c7f3ca284d0fef5a7e146b (diff)
downloadframeworks_base-9e7884a091286568a665fd2f9753babe1c17269c.zip
frameworks_base-9e7884a091286568a665fd2f9753babe1c17269c.tar.gz
frameworks_base-9e7884a091286568a665fd2f9753babe1c17269c.tar.bz2
Force the nav bar visible when an IME window is visible.
Bug:9499956 Change-Id: I1ed895c6283476440b6c47e1764b6b0fe2aa949a
Diffstat (limited to 'policy')
-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 c58ed6f..cd8da69 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -3334,7 +3334,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
if (DEBUG_LAYOUT) Slog.i(TAG, "Win " + win + ": isVisibleOrBehindKeyguardLw="
+ win.isVisibleOrBehindKeyguardLw());
if (mTopFullscreenOpaqueWindowState == null && (win.getAttrs().privateFlags
- &WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_SHOW_NAV_BAR) != 0) {
+ &WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_SHOW_NAV_BAR) != 0
+ || (win.isVisibleLw() && attrs.type == TYPE_INPUT_METHOD)) {
if (mForcingShowNavBarLayer < 0) {
mForcingShowNavBar = true;
mForcingShowNavBarLayer = win.getSurfaceLayer();