Merge "MessageView: on answering invitation move in only one direction." into froyo

This commit is contained in:
Marc Blank 2010-04-05 15:34:06 -07:00 committed by Android (Google) Code Review
commit f7d9f65961

View File

@ -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.
}
}