catch illegal state not illegal argument on popBackStack()

This commit is contained in:
Daniel Gultsch 2018-09-01 10:07:04 +02:00
parent 201d8ab398
commit c05acccf17

View file

@ -470,7 +470,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
if (fm.getBackStackEntryCount() > 0) {
try {
fm.popBackStack();
} catch (IllegalArgumentException e) {
} catch (IllegalStateException e) {
Log.w(Config.LOGTAG,"Unable to pop back stack after pressing home button");
}
return true;