diff options
| -rw-r--r-- | services/core/java/com/android/server/accounts/AccountManagerService.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/accounts/AccountManagerService.java b/services/core/java/com/android/server/accounts/AccountManagerService.java index 6b454a5f602f..fe5375233d8f 100644 --- a/services/core/java/com/android/server/accounts/AccountManagerService.java +++ b/services/core/java/com/android/server/accounts/AccountManagerService.java @@ -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); } } } |