From 0d21aa395ae21857fb5ab74db7c284eda49729d4 Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Wed, 15 Sep 2010 16:28:35 -0700 Subject: [PATCH] Make "load more" work Wasn't implemented... Bug 3004954 Change-Id: Id44bcf936fab2965b032bbc5621045825aab5292 --- src/com/android/email/RefreshManager.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/com/android/email/RefreshManager.java b/src/com/android/email/RefreshManager.java index 5b4e8b64b..8696c6f17 100644 --- a/src/com/android/email/RefreshManager.java +++ b/src/com/android/email/RefreshManager.java @@ -230,7 +230,11 @@ public class RefreshManager { + loadMoreMessages); status.onRefreshRequested(); notifyRefreshStatusChanged(accountId, mailboxId); - mController.updateMailbox(accountId, mailboxId); + if (loadMoreMessages) { + mController.loadMoreMessages(mailboxId); + } else { + mController.updateMailbox(accountId, mailboxId); + } return true; }