diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-09-11 21:15:22 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-09-11 21:15:22 +0200 |
commit | 5608bbf94d94ca50a0bc2d79e196b1eb09f9b0b4 (patch) | |
tree | 5a9dc59e443930e73b5d61fd8936e0212dc8765d /src/main/java/de/pixart | |
parent | c27a3d22e43385314c971ef211c232c3d2a74570 (diff) |
catch illegal state not illegal argument on popBackStack()
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationsActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java b/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java index 92c87063e..dcb15fec1 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java @@ -548,7 +548,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; |