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

Commit d5a115b0 authored by Dmitry Dementyev's avatar Dmitry Dementyev Committed by Automerger Merge Worker
Browse files

Merge "Remove authenticator data if it was disabled." into sc-dev am:...

Merge "Remove authenticator data if it was disabled." into sc-dev am: 25cc4a63 am: 2fdf4be6 am: 72512326 am: 000d5631 am: 47f7d312 am: 6d7cdd70

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/28485396



Change-Id: Ida2dcebfdee5b7c01b49167cc3a29b72a062d74c
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 3aef0238 6d7cdd70
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1195,6 +1195,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);
                        }
                    }
                }