diff options
author | Jorim Jaggi <jjaggi@google.com> | 2015-04-13 16:29:48 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2015-04-14 14:02:16 -0700 |
commit | ccdfa93f609d3f306a35902df323939e266a7ab3 (patch) | |
tree | f8d9283a7f1d79cb9770b93a3b7bef88b10a6475 /packages/Keyguard/src | |
parent | c06bbbfe7ac3c848384cb667b23c42ce26cc5d95 (diff) | |
download | frameworks_base-ccdfa93f609d3f306a35902df323939e266a7ab3.zip frameworks_base-ccdfa93f609d3f306a35902df323939e266a7ab3.tar.gz frameworks_base-ccdfa93f609d3f306a35902df323939e266a7ab3.tar.bz2 |
Fix fingerprint API for 3rd party apps
Change-Id: Id68d04b4deef9940a683d2b40f1db231845b00e3
Diffstat (limited to 'packages/Keyguard/src')
-rw-r--r-- | packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java index 147ac19..a02fb4a 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java @@ -16,6 +16,7 @@ package com.android.keyguard; +import android.app.ActivityManager; import android.app.ActivityManagerNative; import android.app.AlarmManager; import android.app.IUserSwitchObserver; @@ -795,7 +796,8 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener { mFingerprintCancelSignal.cancel(); } mFingerprintCancelSignal = new CancellationSignal(); - mFpm.authenticate(null, mFingerprintCancelSignal, mAuthenticationCallback, 0); + mFpm.authenticate(null, mFingerprintCancelSignal, mAuthenticationCallback, 0, + ActivityManager.getCurrentUser()); setFingerprintRunningDetectionRunning(true); } } |