Merge "ResetLockoutClients cancel preceding clients." into tm-dev am: fa8e422ffa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18309972 Change-Id: Id48b97eba6a52c6e5dd9794c5dffc62414aa8810 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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