Merge "Test for hidden keyguard before waiting for it." into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5a7831733b
@@ -4286,7 +4286,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
|
||||
private void waitForKeyguardWindowDrawn(IBinder windowToken,
|
||||
final ScreenOnListener screenOnListener) {
|
||||
if (windowToken != null) {
|
||||
if (windowToken != null && !mHideLockScreen) {
|
||||
try {
|
||||
if (mWindowManager.waitForWindowDrawn(
|
||||
windowToken, new IRemoteCallback.Stub() {
|
||||
|
||||
Reference in New Issue
Block a user