diff --git a/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.java b/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.java index 94b0f826aa..877e272514 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.java +++ b/app/src/main/java/org/thoughtcrime/securesms/service/WebRtcCallService.java @@ -506,7 +506,10 @@ public class WebRtcCallService extends Service implements CallManager.Observer, private void handleCancelPreJoinCall() { cleanupVideo(); - preJoinPeer = null; + enableVideoOnCreate = false; + preJoinPeer = null; + + EventBus.getDefault().removeStickyEvent(WebRtcViewModel.class); } private void handleOutgoingCall(Intent intent) { diff --git a/app/src/main/res/layout/webrtc_call_view_toolbar.xml b/app/src/main/res/layout/webrtc_call_view_toolbar.xml index e548d584b3..17ea9de92d 100644 --- a/app/src/main/res/layout/webrtc_call_view_toolbar.xml +++ b/app/src/main/res/layout/webrtc_call_view_toolbar.xml @@ -3,10 +3,11 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + app:contentInsetStart="0dp"> @@ -19,8 +20,9 @@