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:
parent
5ce80cadaa
commit
a9b538fd09
@ -270,6 +270,8 @@ public class FolderList extends K9ListActivity
|
|||||||
|
|
||||||
public void onNewIntent(Intent intent)
|
public void onNewIntent(Intent intent)
|
||||||
{
|
{
|
||||||
|
setIntent(intent); // onNewIntent doesn't autoset our "internal" intent
|
||||||
|
|
||||||
String savedFolderName = null;
|
String savedFolderName = null;
|
||||||
String initialFolder;
|
String initialFolder;
|
||||||
|
|
||||||
|
@ -337,6 +337,7 @@ public class MessageList
|
|||||||
|
|
||||||
public void onNewIntent(Intent intent)
|
public void onNewIntent(Intent intent)
|
||||||
{
|
{
|
||||||
|
setIntent(intent); // onNewIntent doesn't autoset our "internal" intent
|
||||||
mAccount = (Account)intent.getSerializableExtra(EXTRA_ACCOUNT);
|
mAccount = (Account)intent.getSerializableExtra(EXTRA_ACCOUNT);
|
||||||
mFolderName = intent.getStringExtra(EXTRA_FOLDER);
|
mFolderName = intent.getStringExtra(EXTRA_FOLDER);
|
||||||
mQueryString = intent.getStringExtra(EXTRA_QUERY);
|
mQueryString = intent.getStringExtra(EXTRA_QUERY);
|
||||||
|
Loading…
Reference in New Issue
Block a user