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

Commit 889bb997 authored by Dmitry Dementyev's avatar Dmitry Dementyev Committed by Android (Google) Code Review
Browse files

Merge "Remove authenticator data if it was disabled." into main

parents 3606ee41 ddfc078a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1233,6 +1233,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);
                        }
                    }
                }