MessageView: fix prev/next navigation in compound mailboxes.
Bug 2132262. Change-Id: Ic3b8d9ccedc6101abb90dcac3545f87cbf233659
This commit is contained in:
parent
c946f87839
commit
1086473056
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user