1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-14 07:08:00 -05:00

. Fixed navigation issue when going back from message

This commit is contained in:
Bao-Long Nguyen-Trong 2009-06-23 16:48:08 +00:00
parent e6132286a0
commit 9bf3c9b45a

View File

@ -596,10 +596,7 @@ public class MessageList extends K9ListActivity {
// If we're a child activity (say because Welcome dropped us straight to the message list // If we're a child activity (say because Welcome dropped us straight to the message list
// we won't have a parent activity and we'll need to get back to it // we won't have a parent activity and we'll need to get back to it
if (isTaskRoot ()) { if (isTaskRoot ()) {
Intent folderList = new Intent(this, FolderList.class); FolderList.actionHandleAccount(this, mAccount);
folderList.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
folderList.putExtra(EXTRA_ACCOUNT, mAccount);
startActivity(folderList);
} }
finish(); finish();
} }
@ -961,8 +958,7 @@ public class MessageList extends K9ListActivity {
return true; return true;
case R.id.list_folders: case R.id.list_folders:
FolderList.actionHandleAccount(this, mAccount); onShowFolderList();
finish();
return true; return true;