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 */);
|
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.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user