From eb232290309aa3247d6c9b566e8490065a28f763 Mon Sep 17 00:00:00 2001 From: Yu Ping Hu Date: Fri, 17 May 2013 12:10:10 -0700 Subject: [PATCH] Always request a folder refresh for new accounts. Change-Id: I396293f39b7f24ebf67e7619ce19765e1229f56b --- .../email/activity/setup/AccountSetupOptions.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/com/android/email/activity/setup/AccountSetupOptions.java b/src/com/android/email/activity/setup/AccountSetupOptions.java index 215d31f04..c739e3337 100644 --- a/src/com/android/email/activity/setup/AccountSetupOptions.java +++ b/src/com/android/email/activity/setup/AccountSetupOptions.java @@ -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 } }