From e2c2d81c31e078d81d52182202adbcc94b64750f Mon Sep 17 00:00:00 2001 From: Mihai Preda Date: Wed, 31 Mar 2010 16:03:46 +0200 Subject: [PATCH] MessageView: on answering invitation move in only one direction. Bug 2541925 Change-Id: I62b454069f8c20403f15e0b58e597963809f830d --- src/com/android/email/activity/MessageView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/email/activity/MessageView.java b/src/com/android/email/activity/MessageView.java index e7d503e21..285816235 100644 --- a/src/com/android/email/activity/MessageView.java +++ b/src/com/android/email/activity/MessageView.java @@ -713,8 +713,8 @@ public class MessageView extends Activity implements OnClickListener { mPreviousMeetingResponse = response; } Toast.makeText(this, toastResId, Toast.LENGTH_SHORT).show(); - if (!moveToOlder() && !moveToNewer()) { - finish(); // if this is the single message, move up to message-list. + if (!moveToOlder()) { + finish(); // if this is the last message, move up to message-list. } }