OSDN Git Service

Do not go over handler to dispatch keyguard visibility
authorJorim Jaggi <jjaggi@google.com>
Tue, 22 Sep 2015 22:55:33 +0000 (15:55 -0700)
committerJorim Jaggi <jjaggi@google.com>
Wed, 23 Sep 2015 18:44:20 +0000 (18:44 +0000)
commit6a15d528c0a4501389008ef945dec38b5ca6919a
treeecd2da97a204b1f7f1b165fe81bbe2859416c3c8
parent739bb7c694aee521995100c456cf1c8341820bec
Do not go over handler to dispatch keyguard visibility

When going over the handler, it could happen with a bad interleaving
we thought that Keyguard was not showing when getting the
onFinishedGoingToSleep message, so we stopped fingerprint
authentication. For some reason our state machine for canceling
/restarting authentication didn't work correctly so the fingerprint
listening state was not correct.

Bug: 24178814
Change-Id: I2a4731f195982395244c12e4d33b2b7d561c5671
packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java