1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Merge pull request #42 from jca02266/wip-fix-activity-switching-for-message-view

Fix for message list opening the wrong message view

Fixes issue 3592
This commit is contained in:
cketti 2011-08-30 17:09:11 -07:00
commit dfc370c057

View File

@ -368,6 +368,7 @@ public class MessageView extends K9Activity implements OnClickListener {
i.putExtra(EXTRA_MESSAGE_REFERENCE, messRef); i.putExtra(EXTRA_MESSAGE_REFERENCE, messRef);
i.putParcelableArrayListExtra(EXTRA_MESSAGE_REFERENCES, messReferences); i.putParcelableArrayListExtra(EXTRA_MESSAGE_REFERENCES, messReferences);
i.putExtra(EXTRA_ORIGINATING_INTENT, originatingIntent); i.putExtra(EXTRA_ORIGINATING_INTENT, originatingIntent);
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP|Intent.FLAG_ACTIVITY_NEW_TASK );
if (extras != null) { if (extras != null) {
i.putExtras(extras); i.putExtras(extras);
} }