commit | 4726ae362b807a76c82d7ce112009d4dde680599 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Tue May 09 14:15:28 2017 +0200 |
committer | Jorim Jaggi <jjaggi@google.com> | Tue May 09 14:15:28 2017 +0200 |
tree | 416e16ce69a7d1955c7bb2fb188787cb06208c3c | |
parent | d2915725d9b8bed5daa6c8410597ce3671829218 [diff] |
Make sure to notify client after Keyguard has been dismissed To avoid race conditions. Test: KeyguardLockedTests Change-Id: I7e2cfaeb7c84f11a24a2889c0fa18ba2f7d241e2 Fixes: 38040006
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java index 07bd242..88e8b39 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
@@ -1585,7 +1585,6 @@ updateInputRestricted(); } - mDismissCallbackRegistry.notifyDismissSucceeded(); handleHide(); Trace.endSection(); } @@ -1798,6 +1797,7 @@ resetKeyguardDonePendingLocked(); mHideAnimationRun = false; adjustStatusBarLocked(); + mDismissCallbackRegistry.notifyDismissSucceeded(); sendUserPresentBroadcast(); } Trace.endSection();