Prevent crash in AccountManager after profile removal.
When user profile is removed AccountManagerService.purgeUserData may be called after a delay. Until it happens other methods may try to access database for a removed profile which causes a crash. Bug: 281980345 Test: N/A (cherry picked from commit 1fb0fb38) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:012998e4be23975d5cdae6438cdccb19f0ec5105) Merged-In: Idb9840a5b9f9fdc84516149066cbb2a945c083a7 Change-Id: Idb9840a5b9f9fdc84516149066cbb2a945c083a7
Loading
Please register or sign in to comment