Merge "ResetLockoutClients cancel preceding clients." into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
fa8e422ffa
@@ -88,6 +88,10 @@ public class FaceResetLockoutClient extends HalClientMonitor<AidlSession> implem
|
||||
mCallback.onClientFinished(this, true /* success */);
|
||||
}
|
||||
|
||||
public boolean interruptsPrecedingClients() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset the local lockout state and notify any listeners.
|
||||
*
|
||||
|
||||
@@ -65,6 +65,10 @@ public class FaceResetLockoutClient extends HalClientMonitor<IBiometricsFace> {
|
||||
startHalOperation();
|
||||
}
|
||||
|
||||
public boolean interruptsPrecedingClients() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void startHalOperation() {
|
||||
try {
|
||||
|
||||
@@ -82,6 +82,10 @@ class FingerprintResetLockoutClient extends HalClientMonitor<AidlSession> implem
|
||||
}
|
||||
}
|
||||
|
||||
public boolean interruptsPrecedingClients() {
|
||||
return true;
|
||||
}
|
||||
|
||||
void onLockoutCleared() {
|
||||
resetLocalLockoutStateToNone(getSensorId(), getTargetUserId(), mLockoutCache,
|
||||
mLockoutResetDispatcher);
|
||||
|
||||
@@ -50,6 +50,10 @@ public class FingerprintResetLockoutClient extends BaseClientMonitor {
|
||||
callback.onClientFinished(this, true /* success */);
|
||||
}
|
||||
|
||||
public boolean interruptsPrecedingClients() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getProtoEnum() {
|
||||
return BiometricsProto.CM_RESET_LOCKOUT;
|
||||
|
||||
Reference in New Issue
Block a user