Fix updating view flow of Account Sync Settings
Bug: 16785070 Account sync settings page doesn't refresh after removing account Change-Id: Iddbe9d73f4d6fcb55829f8bb6ab2fe6ffa147cf3
This commit is contained in:
@@ -97,6 +97,8 @@ public class ManageAccountsSettings extends AccountPreferenceBase
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
mAuthenticatorHelper.listenToAccountUpdates();
|
||||
updateAuthDescriptions();
|
||||
showAccountsIfNeeded();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -124,8 +126,6 @@ public class ManageAccountsSettings extends AccountPreferenceBase
|
||||
if (args != null && args.containsKey(KEY_ACCOUNT_LABEL)) {
|
||||
getActivity().setTitle(args.getString(KEY_ACCOUNT_LABEL));
|
||||
}
|
||||
updateAuthDescriptions();
|
||||
showAccountsIfNeeded();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user