Loading services/core/java/com/android/server/policy/PhoneWindowManager.java +3 −5 Original line number Original line Diff line number Diff line Loading @@ -5265,11 +5265,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { } } private boolean shouldDispatchInputWhenNonInteractive() { private boolean shouldDispatchInputWhenNonInteractive() { if (mDisplay == null || mDisplay.getState() == Display.STATE_OFF) { // Send events to keyguard while the screen is on. return false; if (isKeyguardShowingAndNotOccluded() && mDisplay != null } && mDisplay.getState() != Display.STATE_OFF) { // Send events to keyguard while the screen is on and it's showing. if (isKeyguardShowingAndNotOccluded()) { return true; return true; } } Loading Loading
services/core/java/com/android/server/policy/PhoneWindowManager.java +3 −5 Original line number Original line Diff line number Diff line Loading @@ -5265,11 +5265,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { } } private boolean shouldDispatchInputWhenNonInteractive() { private boolean shouldDispatchInputWhenNonInteractive() { if (mDisplay == null || mDisplay.getState() == Display.STATE_OFF) { // Send events to keyguard while the screen is on. return false; if (isKeyguardShowingAndNotOccluded() && mDisplay != null } && mDisplay.getState() != Display.STATE_OFF) { // Send events to keyguard while the screen is on and it's showing. if (isKeyguardShowingAndNotOccluded()) { return true; return true; } } Loading