Loading policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +3 −2 Original line number Diff line number Diff line Loading @@ -4446,8 +4446,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { } case KeyEvent.KEYCODE_POWER: { if ((mTopFullscreenOpaqueWindowState.getAttrs().flags & WindowManager.LayoutParams.PREVENT_POWER_KEY) != 0){ if ((mTopFullscreenOpaqueWindowState != null && (mTopFullscreenOpaqueWindowState.getAttrs().flags & WindowManager.LayoutParams.PREVENT_POWER_KEY) != 0)) { return result; } result &= ~ACTION_PASS_TO_USER; Loading Loading
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +3 −2 Original line number Diff line number Diff line Loading @@ -4446,8 +4446,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { } case KeyEvent.KEYCODE_POWER: { if ((mTopFullscreenOpaqueWindowState.getAttrs().flags & WindowManager.LayoutParams.PREVENT_POWER_KEY) != 0){ if ((mTopFullscreenOpaqueWindowState != null && (mTopFullscreenOpaqueWindowState.getAttrs().flags & WindowManager.LayoutParams.PREVENT_POWER_KEY) != 0)) { return result; } result &= ~ACTION_PASS_TO_USER; Loading