Merge "Use the auto-advance setting after move."

This commit is contained in:
Makoto Onuki 2010-09-13 15:29:58 -07:00 committed by Android (Google) Code Review
commit 599cc11e9e

View File

@ -342,10 +342,7 @@ public class MessageListXL extends Activity implements View.OnClickListener,
@Override @Override
public void onMoveToMailboxSelected(long newMailboxId, long[] messageIds) { public void onMoveToMailboxSelected(long newMailboxId, long[] messageIds) {
ActivityHelper.moveMessages(this, newMailboxId, messageIds); ActivityHelper.moveMessages(this, newMailboxId, messageIds);
if (!moveToOlder()) { onCurrentMessageGone();
// if this is the last message, move up to message-list.
mFragmentManager.goBackToMailbox();
}
} }
/** /**