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

Commit 932fd9bd authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Add missing permission check for addLockoutResetCallback

This is not a public API and is lacking permission checks

Bug: 155988975

Test: No permission error from keyguard
Change-Id: I5e3eeb869f1373d6a08470815ea673190b7598f6
parent 687c3833
Loading
Loading
Loading
Loading
+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);
        }