Merge "ResetLockoutClients cancel preceding clients." into tm-dev

This commit is contained in:
Joshua Mccloskey
2022-05-12 03:40:31 +00:00
committed by Android (Google) Code Review
4 changed files with 16 additions and 0 deletions

View File

@@ -88,6 +88,10 @@ public class FaceResetLockoutClient extends HalClientMonitor<AidlSession> implem
mCallback.onClientFinished(this, true /* success */); mCallback.onClientFinished(this, true /* success */);
} }
public boolean interruptsPrecedingClients() {
return true;
}
/** /**
* Reset the local lockout state and notify any listeners. * Reset the local lockout state and notify any listeners.
* *

View File

@@ -65,6 +65,10 @@ public class FaceResetLockoutClient extends HalClientMonitor<IBiometricsFace> {
startHalOperation(); startHalOperation();
} }
public boolean interruptsPrecedingClients() {
return true;
}
@Override @Override
protected void startHalOperation() { protected void startHalOperation() {
try { try {

View File

@@ -82,6 +82,10 @@ class FingerprintResetLockoutClient extends HalClientMonitor<AidlSession> implem
} }
} }
public boolean interruptsPrecedingClients() {
return true;
}
void onLockoutCleared() { void onLockoutCleared() {
resetLocalLockoutStateToNone(getSensorId(), getTargetUserId(), mLockoutCache, resetLocalLockoutStateToNone(getSensorId(), getTargetUserId(), mLockoutCache,
mLockoutResetDispatcher); mLockoutResetDispatcher);

View File

@@ -50,6 +50,10 @@ public class FingerprintResetLockoutClient extends BaseClientMonitor {
callback.onClientFinished(this, true /* success */); callback.onClientFinished(this, true /* success */);
} }
public boolean interruptsPrecedingClients() {
return true;
}
@Override @Override
public int getProtoEnum() { public int getProtoEnum() {
return BiometricsProto.CM_RESET_LOCKOUT; return BiometricsProto.CM_RESET_LOCKOUT;