Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3bfcf99 authored by Jim Miller's avatar Jim Miller Committed by android-build-merger
Browse files

Reset mCurrentUserId when fingerprintd died

am: be11bc5f

Change-Id: Iec23706b14eafe4811d463b00d15105f49d403c3
parents 2040cad0 be11bc5f
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -195,6 +195,7 @@ public class FingerprintService extends SystemService implements IBinder.DeathRe
    public void binderDied() {
    public void binderDied() {
        Slog.v(TAG, "fingerprintd died");
        Slog.v(TAG, "fingerprintd died");
        mDaemon = null;
        mDaemon = null;
        mCurrentUserId = UserHandle.USER_CURRENT;
        handleError(mHalDeviceId, FingerprintManager.FINGERPRINT_ERROR_HW_UNAVAILABLE);
        handleError(mHalDeviceId, FingerprintManager.FINGERPRINT_ERROR_HW_UNAVAILABLE);
    }
    }