Merge "Send proper parameter to startSync (via EmailService)"

This commit is contained in:
Marc Blank 2011-07-14 16:14:19 -07:00 committed by Android (Google) Code Review
commit 68ce7f3d60

View File

@ -606,7 +606,7 @@ class UIControllerTwoPane extends UIControllerBase implements ThreePaneLayout.Ca
return; return;
} }
if (isCurrentMailboxRefreshable) { if (isCurrentMailboxRefreshable) {
mRefreshManager.refreshMessageList(mAccountId, mMailboxId, false); mRefreshManager.refreshMessageList(mAccountId, mMailboxId, true);
} }
// Refresh mailbox list // Refresh mailbox list
if (mAccountId != Account.NO_ACCOUNT) { if (mAccountId != Account.NO_ACCOUNT) {
@ -616,7 +616,7 @@ class UIControllerTwoPane extends UIControllerBase implements ThreePaneLayout.Ca
} }
// Refresh inbox // Refresh inbox
if (shouldAutoRefreshInbox()) { if (shouldAutoRefreshInbox()) {
mRefreshManager.refreshMessageList(mAccountId, mInboxId, false); mRefreshManager.refreshMessageList(mAccountId, mInboxId, true);
} }
} }