Fix cleaning up all unknown hal templates.
Bug: 261577256
Test: manually tested on device, testing steps:
1. manually add more than one unknown HAL templates
2. switch to another user
3. all unknown HAL templates should be cleared
Change-Id: Ic45301ab15dd83cdd946411e5b0b227f843602cb
Merged-In: Ic45301ab15dd83cdd946411e5b0b227f843602cb
This commit is contained in:
@@ -96,7 +96,11 @@ public abstract class InternalCleanupClient<S extends BiometricAuthenticator.Ide
|
||||
@Override
|
||||
public void onClientFinished(@NonNull BaseClientMonitor clientMonitor, boolean success) {
|
||||
Slog.d(TAG, "Remove onClientFinished: " + clientMonitor + ", success: " + success);
|
||||
mCallback.onClientFinished(InternalCleanupClient.this, success);
|
||||
if (mUnknownHALTemplates.isEmpty()) {
|
||||
mCallback.onClientFinished(InternalCleanupClient.this, success);
|
||||
} else {
|
||||
startCleanupUnknownHalTemplates();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user