Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 441843bd authored by Joshua Mccloskey's avatar Joshua Mccloskey
Browse files

Remove all biometrics if user is removed.

Test: Verified face & fingerprint get corresponding calls to delete
if a guest profile is removed.
Bug: 193926097

Change-Id: I50f3a02d7578907acfcb901e011939165bfd8534
parent 5be998a6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);