Merge change 20718
* changes: Renew Unread Counts and accounts on Resume See bug 2041204
This commit is contained in:
commit
5c3f1f8cb7
@ -214,6 +214,12 @@ public class AccountFolderList extends ListActivity
|
||||
|
||||
Controller.getInstance(getApplication()).addResultCallback(mControllerCallback);
|
||||
|
||||
if (mLoadAccountsTask != null &&
|
||||
mLoadAccountsTask.getStatus() != LoadAccountsTask.Status.FINISHED) {
|
||||
mLoadAccountsTask.cancel(true);
|
||||
}
|
||||
mLoadAccountsTask = (LoadAccountsTask) new LoadAccountsTask().execute();
|
||||
|
||||
// TODO: What updates do we need to auto-trigger, now that we have mailboxes in view?
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user