Merge "Fix bug 14990524 Add account does not refresh the list of accounts in the Dashboard"

This commit is contained in:
Fabrice Di Meglio
2014-05-16 02:34:40 +00:00
committed by Android (Google) Code Review

View File

@@ -131,8 +131,8 @@ public class DashboardSummary extends Fragment implements OnAccountsUpdateListen
}
@Override
public void onStop() {
super.onStop();
public void onDestroy() {
super.onDestroy();
if (mAccountListenerAdded) {
AccountManager.get(getActivity()).removeOnAccountsUpdatedListener(this);