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

Commit 0686f09c 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: e734a057

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



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