am 10864730: MessageView: fix prev/next navigation in compound mailboxes.

Merge commit '1086473056eaaa8f473af632fb6d701c8376e132' into eclair-plus-aosp

* commit '1086473056eaaa8f473af632fb6d701c8376e132':
  MessageView: fix prev/next navigation in compound mailboxes.
This commit is contained in:
Mihai Preda 2009-09-25 11:52:13 -07:00 committed by Android Git Automerger
commit c253d55166

View File

@ -546,7 +546,9 @@ public class MessageList extends ListActivity implements OnItemClickListener, On
if (mailbox.mType == EmailContent.Mailbox.TYPE_DRAFTS) {
MessageCompose.actionEditDraft(this, messageId);
} else {
MessageView.actionView(this, messageId, mailboxId);
// WARNING: here we pass mMailboxId, which can be the negative id of a compound
// mailbox, instead of the mailboxId of the particular message that is opened
MessageView.actionView(this, messageId, mMailboxId);
}
}