am eb232290
: Always request a folder refresh for new accounts.
* commit 'eb232290309aa3247d6c9b566e8490065a28f763': Always request a folder refresh for new accounts.
This commit is contained in:
commit
60ea22a0f1
@ -362,14 +362,12 @@ public class AccountSetupOptions extends AccountSetupActivity implements OnClick
|
||||
}
|
||||
saveAccountAndFinish();
|
||||
|
||||
// If we're local, update the folder list (to get our starting folders, e.g. Inbox)
|
||||
// Update the folder list (to get our starting folders, e.g. Inbox)
|
||||
EmailServiceProxy proxy = EmailServiceUtils.getServiceForAccount(this, null, account.mId);
|
||||
if (!proxy.isRemote()) {
|
||||
try {
|
||||
proxy.updateFolderList(account.mId);
|
||||
} catch (RemoteException e) {
|
||||
// It's all good
|
||||
}
|
||||
try {
|
||||
proxy.updateFolderList(account.mId);
|
||||
} catch (RemoteException e) {
|
||||
// It's all good
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user