commit | f41fc9664febbdbf138e8540fd7a8281f1278eb1 | [log] [tgz] |
---|---|---|
author | Jim Miller <jaggies@google.com> | Wed Jun 18 16:33:51 2014 -0700 |
committer | Jim Miller <jaggies@google.com> | Sat Jun 28 01:11:20 2014 +0000 |
tree | dd6c6c36f4e07bd28dd9716225216355018ffa69 | |
parent | 155854f59813cbc3be50598036d905828dbdb78d [diff] [blame] |
Add fingerprint detection support to Keyguard. Tested: - power-on with fingerprint sensor - dismiss bouncer with fingerprint - fingerprint to enter trusted state Change-Id: I6aab7591d370412a143fe219a1575b2719a4de96
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java index bfd657b..c9e0db6 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java
@@ -99,6 +99,10 @@ public void onScreenTurnedOn() { updateMethodSecure(false /* updateAlways */); } + + public void onFingerprintRecognized(int userId) { + updateMethodSecure(false /* updateAlways */); + } }; public static interface OnUnlockMethodChangedListener {