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
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user