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

Commit d1fd2a90 authored by Kevin Chyn's avatar Kevin Chyn Committed by Automerger Merge Worker
Browse files

Merge changes from topic "lockoutreset" into rvc-dev am: 8838c087

Change-Id: Ibb50dcf231c0f20f07933763b70237029506c122
parents c4f1f3b7 8838c087
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -978,6 +978,10 @@ public abstract class BiometricServiceBase extends SystemService
    }

    protected void addLockoutResetCallback(IBiometricServiceLockoutResetCallback callback) {
        if (callback == null) {
            Slog.w(getTag(), "Null LockoutResetCallback");
            return;
        }
        mHandler.post(() -> {
           final LockoutResetMonitor monitor = new LockoutResetMonitor(callback);
           if (!mLockoutMonitors.contains(monitor)) {
+1 −0
Original line number Diff line number Diff line
@@ -330,6 +330,7 @@ public class FingerprintService extends BiometricServiceBase {
        @Override
        public void addLockoutResetCallback(final IBiometricServiceLockoutResetCallback callback)
                throws RemoteException {
            checkPermission(USE_BIOMETRIC_INTERNAL);
            FingerprintService.super.addLockoutResetCallback(callback);
        }