mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-08-04 20:34:14 +01:00
Prevent call PiP from appearing in outgoing screen share.
This commit is contained in:
committed by
Greyson Parrelli
parent
8b71bde890
commit
7af82fbc87
+1
-1
@@ -298,7 +298,7 @@ class WebRtcCallViewModel : ViewModel() {
|
||||
|
||||
@MainThread
|
||||
fun updateFromWebRtcViewModel(webRtcViewModel: WebRtcViewModel, enableVideo: Boolean) {
|
||||
canEnterPipMode.value = !webRtcViewModel.state.isPreJoinOrNetworkUnavailable
|
||||
canEnterPipMode.value = !webRtcViewModel.state.isPreJoinOrNetworkUnavailable && !webRtcViewModel.isLocalScreenSharing
|
||||
if (isCallStarting && webRtcViewModel.state.isPassedPreJoin) {
|
||||
isCallStarting = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user