Commit 76568304 authored by Jim Miller's avatar Jim Miller Committed by The Android Automerger

Fix crash in ConfirmCredentials due to missing fp service.

Fixes bug 27060816

Change-Id: I25fa1ffc65247360f58473f5bc1745abbabb1e33
(cherry picked from commit 0918e5d6)
parent 49e90960
......@@ -49,7 +49,8 @@ public class FingerprintUiHelper extends FingerprintManager.AuthenticationCallba
}
public void startListening() {
if (mFingerprintManager.getEnrolledFingerprints(mUserId).size() > 0) {
if (mFingerprintManager != null
&& mFingerprintManager.getEnrolledFingerprints(mUserId).size() > 0) {
mCancellationSignal = new CancellationSignal();
mFingerprintManager.setActiveUser(mUserId);
mFingerprintManager.authenticate(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment