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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user