1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

Don't use FLAG_ACTIVITY_SINGLE_TOP to start MessageList

We currently don't implement onNewIntent() so using
FLAG_ACTIVITY_SINGLE_TOP won't work.
This commit is contained in:
cketti 2012-11-27 00:01:51 +01:00
parent c870c5acbc
commit 689f12a7f8

View File

@ -73,7 +73,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
intent.putExtra(EXTRA_NO_THREADING, noThreading); intent.putExtra(EXTRA_NO_THREADING, noThreading);
if (clearTop) { if (clearTop) {
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
} }
if (newTask) { if (newTask) {
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);