Merge "Fix bug 14990524 Add account does not refresh the list of accounts in the Dashboard"
This commit is contained in:
committed by
Android (Google) Code Review
commit
105947d0a9
@@ -131,8 +131,8 @@ public class DashboardSummary extends Fragment implements OnAccountsUpdateListen
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onStop() {
|
public void onDestroy() {
|
||||||
super.onStop();
|
super.onDestroy();
|
||||||
|
|
||||||
if (mAccountListenerAdded) {
|
if (mAccountListenerAdded) {
|
||||||
AccountManager.get(getActivity()).removeOnAccountsUpdatedListener(this);
|
AccountManager.get(getActivity()).removeOnAccountsUpdatedListener(this);
|
||||||
|
Reference in New Issue
Block a user