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
1 changed files with 4 additions and 0 deletions
|
@ -236,6 +236,10 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
|||
removeMessageListFragment();
|
||||
removeMessageViewFragment();
|
||||
|
||||
mMessageReference = null;
|
||||
mSearch = null;
|
||||
mFolderName = null;
|
||||
|
||||
decodeExtras(intent);
|
||||
initializeDisplayMode(null);
|
||||
initializeFragments();
|
||||
|
|
Loading…
Reference in a new issue