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:
@@ -3018,7 +3018,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
|
|||||||
if ((mSystemUiVisibility & STATUS_OR_NAV_TRANSIENT) != 0 // a transient bar is revealed
|
if ((mSystemUiVisibility & STATUS_OR_NAV_TRANSIENT) != 0 // a transient bar is revealed
|
||||||
&& event.getAction() == MotionEvent.ACTION_OUTSIDE // touch outside the source bar
|
&& event.getAction() == MotionEvent.ACTION_OUTSIDE // touch outside the source bar
|
||||||
&& event.getX() == 0 && event.getY() == 0 // a touch outside both bars
|
&& event.getX() == 0 && event.getY() == 0 // a touch outside both bars
|
||||||
) {
|
&& !mRemoteInputController.isRemoteInputActive()) { // not due to typing in IME
|
||||||
userAutohide();
|
userAutohide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user