Fix a crash when using the back button in a search results list with "Manage Back button" preference enabled.
Fixes issue 1716
This commit is contained in:
parent
b43126c69f
commit
84d5e7216d
1 changed files with 8 additions and 1 deletions
|
@ -581,10 +581,17 @@ public class MessageList
|
|||
// or later, or by the code above on earlier versions of the
|
||||
// platform.
|
||||
if (K9.manageBack())
|
||||
{
|
||||
if (mQueryString == null)
|
||||
{
|
||||
onShowFolderList();
|
||||
}
|
||||
else
|
||||
{
|
||||
onAccounts();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
finish();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue