diff options
author | Jorim Jaggi <jjaggi@google.com> | 2015-04-14 21:12:25 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-04-14 21:12:27 +0000 |
commit | 7caa691652a901ac354755c44990cca11b5cdb23 (patch) | |
tree | 26d84657d3e675b106a6e53fda7f030ae11c831a /packages/Keyguard | |
parent | bd1c50d1d0e92f5c18b5e61a16e7ec0c0c87ed9e (diff) | |
parent | ccdfa93f609d3f306a35902df323939e266a7ab3 (diff) | |
download | frameworks_base-7caa691652a901ac354755c44990cca11b5cdb23.zip frameworks_base-7caa691652a901ac354755c44990cca11b5cdb23.tar.gz frameworks_base-7caa691652a901ac354755c44990cca11b5cdb23.tar.bz2 |
Merge "Fix fingerprint API for 3rd party apps"
Diffstat (limited to 'packages/Keyguard')
-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); } } |