From c05acccf1767713781f8a815d03b40d37d3b2850 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 1 Sep 2018 10:07:04 +0200 Subject: [PATCH] catch illegal state not illegal argument on popBackStack() --- .../java/eu/siacs/conversations/ui/ConversationsActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java index 70d682564..8d439f0a4 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java @@ -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; -- 2.45.2