Fix crash when removing account.
Bug: 3248351
This commit is contained in:
@@ -346,6 +346,7 @@ public class AccountSyncSettings extends AccountPreferenceBase {
|
||||
|
||||
@Override
|
||||
protected void onSyncStateUpdated() {
|
||||
if (!isResumed()) return;
|
||||
// iterate over all the preferences, setting the state properly for each
|
||||
Date date = new Date();
|
||||
List<SyncInfo> currentSyncs = ContentResolver.getCurrentSyncs();
|
||||
|
Reference in New Issue
Block a user