From 5e47645f6de21c4c673b6702f483cb025e03be03 Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Fri, 27 May 2016 12:07:33 -0700 Subject: [PATCH] Fix status bar autohide with DirectReply If a touch outside the status bar window is detected we schedule autohiding the status bar - which is wrong when that touch is due to touching the IME for DirectReply. Bug: 28914905 Change-Id: Ic86612192368181f195fa54ac4f20edaf02af685 --- .../com/android/systemui/statusbar/phone/PhoneStatusBar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 92081340768a2..d9a8a3f994815 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -3020,7 +3020,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, if ((mSystemUiVisibility & STATUS_OR_NAV_TRANSIENT) != 0 // a transient bar is revealed && event.getAction() == MotionEvent.ACTION_OUTSIDE // touch outside the source bar && event.getX() == 0 && event.getY() == 0 // a touch outside both bars - ) { + && !mRemoteInputController.isRemoteInputActive()) { // not due to typing in IME userAutohide(); } }