Merge pull request #2780 from k9mail/restore_instance_state

Fix MessageList.onRestoreInstanceState()
This commit is contained in:
Vincent Breitmoser 2017-09-19 00:23:32 +02:00 committed by GitHub
commit b63ed68838

View file

@ -535,6 +535,8 @@ public class MessageList extends K9Activity implements MessageListFragmentListen
@Override @Override
public void onRestoreInstanceState(Bundle savedInstanceState) { public void onRestoreInstanceState(Bundle savedInstanceState) {
super.onRestoreInstanceState(savedInstanceState);
mMessageListWasDisplayed = savedInstanceState.getBoolean(STATE_MESSAGE_LIST_WAS_DISPLAYED); mMessageListWasDisplayed = savedInstanceState.getBoolean(STATE_MESSAGE_LIST_WAS_DISPLAYED);
mFirstBackStackId = savedInstanceState.getInt(STATE_FIRST_BACK_STACK_ID); mFirstBackStackId = savedInstanceState.getInt(STATE_FIRST_BACK_STACK_ID);
} }