Merge "Merge "Fix status bar autohide with DirectReply" into nyc-dev am: e3e80bde12 am: 9fb91a6c04" into nyc-mr1-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
d29ac4b966
@@ -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