Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7aae0447 authored by Fiouz's avatar Fiouz
Browse files

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
parent a333d770
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -193,7 +193,7 @@
        </activity>
        <activity
            android:name="com.fsck.k9.activity.MessageList"
            android:launchMode="singleTask"
            android:launchMode="singleInstance"
            android:configChanges="locale"
            >
        </activity>