From 175c95c43172f658f1ea09c469e9a1835d24ea51 Mon Sep 17 00:00:00 2001 From: Aline Bonnet <aline.bonnet@savoirfairelinux.com> Date: Fri, 27 Jan 2017 15:15:55 -0500 Subject: [PATCH] ui: fix the behavior of the call bar When opening the conversation during a call to show the text messages, the call bar is not displayed. This commit forces the refresh of the conversation screen to display this bar. Change-Id: Ifb453608dafd29f7fd42173c38b863a78fe56fa0 Tuleap: #1484 --- .../src/main/java/cx/ring/client/ConversationActivity.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ring-android/app/src/main/java/cx/ring/client/ConversationActivity.java b/ring-android/app/src/main/java/cx/ring/client/ConversationActivity.java index 006f791fa..e45e83582 100644 --- a/ring-android/app/src/main/java/cx/ring/client/ConversationActivity.java +++ b/ring-android/app/src/main/java/cx/ring/client/ConversationActivity.java @@ -57,6 +57,11 @@ public class ConversationActivity extends AppCompatActivity implements LocalServ @Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); + if (intent.getBooleanExtra("resuming", false)) { + if (mConversationFragment != null) { + mConversationFragment.refreshView(0); + } + } } @Override -- GitLab