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

Commit 6e25cd88 authored by Dmitry Dementyev's avatar Dmitry Dementyev
Browse files

Remove authenticator data if it was disabled.

Test: manual
Bug: 343440463
Flag: EXEMPT bugfix
Change-Id: I36bd6bf101da03c9c30a6d3c0080b801e7898bc6
(cherry picked from commit ddfc078a)
parent f483640d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1171,6 +1171,10 @@ public class AccountManagerService
                            obsoleteAuthType.add(type);
                            // And delete it from the TABLE_META
                            accountsDb.deleteMetaByAuthTypeAndUid(type, uid);
                        } else if (knownUid != null && knownUid != uid) {
                            Slog.w(TAG, "authenticator no longer exist for type " + type);
                            obsoleteAuthType.add(type);
                            accountsDb.deleteMetaByAuthTypeAndUid(type, uid);
                        }
                    }
                }