From 00d5cf97c6aed73426a4f8c393bccb380cff8135 Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Mon, 13 Sep 2010 14:27:13 -0700 Subject: [PATCH] Use the auto-advance setting after move. Change-Id: I835211589897410be7003a276a3278d43d940c38 --- src/com/android/email/activity/MessageListXL.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/com/android/email/activity/MessageListXL.java b/src/com/android/email/activity/MessageListXL.java index 9d64f1bdc..34f755d05 100644 --- a/src/com/android/email/activity/MessageListXL.java +++ b/src/com/android/email/activity/MessageListXL.java @@ -342,10 +342,7 @@ public class MessageListXL extends Activity implements View.OnClickListener, @Override public void onMoveToMailboxSelected(long newMailboxId, long[] messageIds) { ActivityHelper.moveMessages(this, newMailboxId, messageIds); - if (!moveToOlder()) { - // if this is the last message, move up to message-list. - mFragmentManager.goBackToMailbox(); - } + onCurrentMessageGone(); } /**