Merge "Fix updating view flow of Account Sync Settings" into lmp-dev

This commit is contained in:
Alexandra Gherghina
2014-08-11 08:54:29 +00:00
committed by Android (Google) Code Review

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