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

Try not to always return to MessageList

Switched MessageList from singleTask to singleInstance launchMode
http://stackoverflow.com/questions/2417468/android-bug-in-launchmode-singletask-activity-stack-not-preserved

This makes launched activities to initiate a new task, they have to
handle the BACK key if user has the option enabled. On the other hand,
K-9 still keeps a single instance of MessageList (as opposed to using
the default launch mode which would allow multiple instances -
potential increased memory usage).

See Issue 2467
This commit is contained in:
Fiouz 2011-06-08 08:41:47 +02:00
parent a333d7703b
commit 7aae044705

View File

@ -193,7 +193,7 @@
</activity>
<activity
android:name="com.fsck.k9.activity.MessageList"
android:launchMode="singleTask"
android:launchMode="singleInstance"
android:configChanges="locale"
>
</activity>