am 728e6c6c: Merge "Prevent showing immersive confirmation unexpectedly"
* commit '728e6c6c1789a1ae141bd0ecc21e8d9dca8dadcc': Prevent showing immersive confirmation unexpectedly
This commit is contained in:
@@ -4389,7 +4389,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
|||||||
result &= ~ACTION_PASS_TO_USER;
|
result &= ~ACTION_PASS_TO_USER;
|
||||||
if (down) {
|
if (down) {
|
||||||
boolean panic = mImmersiveModeConfirmation.onPowerKeyDown(interactive,
|
boolean panic = mImmersiveModeConfirmation.onPowerKeyDown(interactive,
|
||||||
event.getDownTime(), isImmersiveMode(mLastSystemUiFlags));
|
SystemClock.elapsedRealtime(), isImmersiveMode(mLastSystemUiFlags));
|
||||||
if (panic) {
|
if (panic) {
|
||||||
mHandler.post(mRequestTransientNav);
|
mHandler.post(mRequestTransientNav);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user