Skip to content

Commit

Permalink
Remove authenticator data if it was disabled.
Browse files Browse the repository at this point in the history
Test: manual
Bug: 343440463
Flag: EXEMPT bugfix
(cherry picked from commit ddfc078af7e89641360b896f99af23a6b371b847)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5919d958231c9295fdfc2e685dfa95af6235bcb7)
Merged-In: I36bd6bf101da03c9c30a6d3c0080b801e7898bc6
Change-Id: I36bd6bf101da03c9c30a6d3c0080b801e7898bc6
  • Loading branch information
Dmitry Dementyev authored and aoleary committed Nov 18, 2024
1 parent 46be612 commit 83f81ad
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,10 @@ private void validateAccountsInternal(
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);
}
}
}
Expand Down

0 comments on commit 83f81ad

Please sign in to comment.