From 11136f939e374da2a0226c2fb389ed4b458d14a4 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 19 Mar 2018 12:29:21 +0100 Subject: [PATCH] commit allowing state loss --- .../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 9c6e4790c..29c17ecfd 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java @@ -424,7 +424,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction(); fragmentTransaction.replace(R.id.main_fragment, conversationFragment); fragmentTransaction.addToBackStack(null); - fragmentTransaction.commit(); + fragmentTransaction.commitAllowingStateLoss(); //allowing state loss is probably fine since view intents et all are already stored and a click can probably be 'ignored' } } else { mainNeedsRefresh = true;