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

Fix restoring instance state of fragment on back stack

This commit is contained in:
cketti 2013-02-05 19:57:36 +01:00
parent 4b920e19b0
commit cb51da5ea8

View File

@ -747,6 +747,7 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
mPreviewLines = K9.messageListPreviewLines(); mPreviewLines = K9.messageListPreviewLines();
mCheckboxes = K9.messageListCheckboxes(); mCheckboxes = K9.messageListCheckboxes();
restoreInstanceState(savedInstanceState);
decodeArguments(); decodeArguments();
mInitialized = true; mInitialized = true;
@ -785,8 +786,6 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
// This needs to be done before initializing the cursor loader below // This needs to be done before initializing the cursor loader below
initializeSortSettings(); initializeSortSettings();
restoreInstanceState(savedInstanceState);
mLoaderJustInitialized = true; mLoaderJustInitialized = true;
LoaderManager loaderManager = getLoaderManager(); LoaderManager loaderManager = getLoaderManager();
int len = mAccountUuids.length; int len = mAccountUuids.length;