Merge "Fix status bar autohide with DirectReply" into nyc-dev

am: e3e80bde12

* commit 'e3e80bde1246ed403be3315dcb1b92edc326aaf7':
  Fix status bar autohide with DirectReply

Change-Id: I403dced0a5e78a61a392383ad3112c9da0d3c27a
This commit is contained in:
Adrian Roos
2016-05-27 23:18:43 +00:00
committed by android-build-merger

View File

@@ -3018,7 +3018,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();
}
}