mirror of
https://github.com/moparisthebest/k-9
synced 2024-08-13 17:03:48 -04:00
Properly clear out old state when receiving a new intent.
This fixes the following scenario: - Get a mail notification - Click on notification -> message view appears - Press home - Get a new notification - Click on notification -> last instead of new message is displayed
This commit is contained in:
parent
3807d2881d
commit
ee65217ac3
@ -236,6 +236,10 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
|||||||
removeMessageListFragment();
|
removeMessageListFragment();
|
||||||
removeMessageViewFragment();
|
removeMessageViewFragment();
|
||||||
|
|
||||||
|
mMessageReference = null;
|
||||||
|
mSearch = null;
|
||||||
|
mFolderName = null;
|
||||||
|
|
||||||
decodeExtras(intent);
|
decodeExtras(intent);
|
||||||
initializeDisplayMode(null);
|
initializeDisplayMode(null);
|
||||||
initializeFragments();
|
initializeFragments();
|
||||||
|
Loading…
Reference in New Issue
Block a user