1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

stop views from "resetting" to previous intents on rotate.

This commit is contained in:
Jesse Vincent 2010-02-04 02:38:30 +00:00
parent 5ce80cadaa
commit a9b538fd09
2 changed files with 3 additions and 0 deletions

View File

@ -270,6 +270,8 @@ public class FolderList extends K9ListActivity
public void onNewIntent(Intent intent)
{
setIntent(intent); // onNewIntent doesn't autoset our "internal" intent
String savedFolderName = null;
String initialFolder;

View File

@ -337,6 +337,7 @@ public class MessageList
public void onNewIntent(Intent intent)
{
setIntent(intent); // onNewIntent doesn't autoset our "internal" intent
mAccount = (Account)intent.getSerializableExtra(EXTRA_ACCOUNT);
mFolderName = intent.getStringExtra(EXTRA_FOLDER);
mQueryString = intent.getStringExtra(EXTRA_QUERY);