We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 67a1b7d + ff20471 commit d887377Copy full SHA for d887377
1 file changed
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -571,7 +571,9 @@ private void cancelPendingPowerKeyAction() {
571
if (!mPowerKeyHandled) {
572
mHandler.removeCallbacks(mPowerLongPress);
573
}
574
- mPendingPowerKeyUpCanceled = true;
+ if (mPowerKeyTriggered) {
575
+ mPendingPowerKeyUpCanceled = true;
576
+ }
577
578
579
private void interceptScreenshotChord() {
0 commit comments