Mute video when closing system PIP during a call.

This commit is contained in:
Cody Henthorne 2024-03-11 13:03:23 -04:00
parent 72f19758db
commit 9e349d2b30

View file

@ -299,6 +299,8 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan
requestNewSizesThrottle.clear();
}
ApplicationDependencies.getSignalCallManager().setEnableVideo(false);
if (!viewModel.isCallStarting()) {
CallParticipantsState state = viewModel.getCallParticipantsStateSnapshot();
if (state != null && state.getCallState().isPreJoinOrNetworkUnavailable()) {