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:
Alexandra Gherghina
2014-08-08 18:14:32 +01:00
parent 6cd90f45b7
commit d4353db21c

View File

@@ -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