1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-13 06:38:05 -05:00
k-9/src/com/fsck/k9/activity
Fiouz c416f02d52 Improve BACK button handling for MessageView
Remove memory leak from referencing MessageView context from the
Intent that is created to go back to MessageList. MessageView is no
longer hardcoded to go back to MessageList, it instead uses an Intent
given at creation to get back to the originating Activity.

Try our best to restore the MessageList in its previous state when
"Manage BACK button" option is enabled:
Since MessageList lives in its own task, we look for the previous
active task and check whether its top activity matches it. If it does,
we just finish MessageView and Android will automatically restore the
previous task. If it doesn't, we launch the originating Intent (and
MessageList state will be lost).

If option is off, we get the regular Android behavior: got back to the
previous screen, whenever it's the MessageList or another application
if the user long-pressed HOME.

The consequence of this is the need for a new permission in order to
check the previous active task: android.permission.GET_TASKS
2011-06-08 22:53:23 +02:00
..
setup ant astyle 2011-06-01 16:03:56 -04:00
AccessibleEmailContentActivity.java astyle-d 2011-02-26 18:39:06 -06:00
Accounts.java astyle 2011-04-12 22:16:22 +10:00
ActivityListener.java ant astyle 2011-06-01 16:03:56 -04:00
ChooseAccount.java astyle-d 2011-02-26 18:39:06 -06:00
ChooseFolder.java Respect "move/copy destination folders" setting in ChooseFolder 2011-05-26 04:11:09 +02:00
ChooseIdentity.java astyle-d 2011-02-26 18:39:06 -06:00
ColorPickerDialog.java astyle-d 2011-02-26 18:39:06 -06:00
ConfirmationDialog.java Remove no longer used references on confirmation dialog disapproval 2011-06-07 01:25:38 +02:00
EditIdentity.java astyle-d 2011-02-26 18:39:06 -06:00
FolderInfoHolder.java Replaced references to K9.INBOX with account.getInboxFolderName() 2011-04-12 22:17:11 +10:00
FolderList.java Refresh folder list when folder is cleared 2011-05-05 07:08:33 +09:00
FolderListFilter.java ant astyle 2011-03-22 18:07:47 +11:00
InsertableHtmlContent.java astyle-d 2011-02-26 18:39:06 -06:00
K9Activity.java Revert changes for issue 549 (import/export settings). 2011-02-28 22:55:34 +01:00
K9ExpandableListActivity.java astyle-d 2011-02-26 18:39:06 -06:00
K9ListActivity.java Revert changes for issue 549 (import/export settings). 2011-02-28 22:55:34 +01:00
K9PreferenceActivity.java astyle-d 2011-02-26 18:39:06 -06:00
LauncherShortcuts.java astyle-d 2011-02-26 18:39:06 -06:00
ManageIdentities.java astyle-d 2011-02-26 18:39:06 -06:00
MessageCompose.java ant astyle 2011-06-01 16:03:56 -04:00
MessageInfoHolder.java astyle-d 2011-02-26 18:39:06 -06:00
MessageList.java Improve BACK button handling for MessageView 2011-06-08 22:53:23 +02:00
MessageReference.java astyle-d 2011-02-26 18:39:06 -06:00
MessageView.java Improve BACK button handling for MessageView 2011-06-08 22:53:23 +02:00
ProgressListener.java astyle-d 2011-02-26 18:39:06 -06:00
Search.java astyle-d 2011-02-26 18:39:06 -06:00
SearchModifier.java astyle-d 2011-02-26 18:39:06 -06:00