mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -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:
commit
dfc370c057
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user