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
Merged-In: Idb9840a5b9f9fdc84516149066cbb2a945c083a7
Change-Id: Ia98887774e16a70b472c881dfe1b4b5bddabb8e8
1 file changed