diff options
| -rwxr-xr-x | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index 7e047fd..e8af0a5 100755 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -3692,11 +3692,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { updateLockScreenTimeout(); } - try { - mWindowManager.setEventDispatching(true); - } catch (RemoteException unhandled) { - } - waitForKeyguard(screenOnListener); } @@ -3747,6 +3742,11 @@ public class PhoneWindowManager implements WindowManagerPolicy { mScreenOnFully = true; } + try { + mWindowManager.setEventDispatching(true); + } catch (RemoteException unhandled) { + } + if (screenOnListener != null) { screenOnListener.onScreenOn(); } |
