Merge "Remove all biometrics if user is removed." into sc-dev

This commit is contained in:
Joshua Mccloskey
2021-07-21 18:14:01 +00:00
committed by Android (Google) Code Review

View File

@@ -2485,6 +2485,7 @@ public class LockSettingsService extends ILockSettings.Stub {
private void removeUser(int userId, boolean unknownUser) {
Slog.i(TAG, "RemoveUser: " + userId);
removeBiometricsForUser(userId);
mSpManager.removeUser(userId);
mStrongAuth.removeUser(userId);