1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-02-25 15:11:52 -05:00

Patch from fiouzy to fix back-button in folderlist when you don't have

"Manage Back Button" enabled.
This commit is contained in:
Jesse Vincent 2010-06-06 21:48:44 +00:00
parent 0d28d70165
commit c287c2e7df

View File

@ -364,6 +364,12 @@ public class FolderList extends K9ListActivity
{ {
onAccounts(); onAccounts();
} }
else
{
// TODO - when we move to android 2.0, uncomment this instead.
// super.onBackPressed()
finish();
}
} }
@Override public boolean onKeyDown(int keyCode, KeyEvent event) @Override public boolean onKeyDown(int keyCode, KeyEvent event)