From 7f2462c936ee5f195ac58bbf289fa73e545f7a04 Mon Sep 17 00:00:00 2001 From: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com> Date: Sat, 27 Apr 2024 00:31:52 +0700 Subject: [PATCH] android: black background in call (#4098) --- .../kotlin/chat/simplex/common/views/call/CallView.android.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/multiplatform/common/src/androidMain/kotlin/chat/simplex/common/views/call/CallView.android.kt b/apps/multiplatform/common/src/androidMain/kotlin/chat/simplex/common/views/call/CallView.android.kt index f676772714..c702264d82 100644 --- a/apps/multiplatform/common/src/androidMain/kotlin/chat/simplex/common/views/call/CallView.android.kt +++ b/apps/multiplatform/common/src/androidMain/kotlin/chat/simplex/common/views/call/CallView.android.kt @@ -689,6 +689,7 @@ fun WebRTCView(callCommand: SnapshotStateList, onResponse: (WVAPIM this.clearHistory() this.clearCache(true) this.addJavascriptInterface(WebRTCInterface(onResponse), "WebRTCInterface") + this.setBackgroundColor(android.graphics.Color.BLACK) val webViewSettings = this.settings webViewSettings.allowFileAccess = true webViewSettings.allowContentAccess = true