OSDN Git Service

Don't show Face Unlock on initial boot fixes 6396685
authorSteven Ross <stross@google.com>
Fri, 27 Apr 2012 18:26:17 +0000 (14:26 -0400)
committerSteven Ross <stross@google.com>
Tue, 1 May 2012 13:12:22 +0000 (09:12 -0400)
commit78c629807c8fe914801ed17f7e16dc1f820e67cd
treeaae851da402708fdb33756d4420c8e9a91421ac3
parent6dbac3798128574accff64a9a2b00b2176058898
Don't show Face Unlock on initial boot fixes 6396685

Uses a static to keep track whether this is the first pass through the lockscreen
This will be true from when the process is instantiated until the lockscreen
is constructed for the first time, and then false afterwards.
When it is true, we suppress the biometric unlock (Face Unlock).
This avoids the problem of unpredictable and slow startup behavior for Face Unlock
on the first unlock after boot.

Change-Id: I70033af17ba3163d5fe07fc58096f01afaaaafd0
policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java