Fix showing control bottom sheet on incoming rings.

This commit is contained in:
Cody Henthorne 2023-12-15 12:03:22 -05:00
parent af9d16852e
commit 23a58ac064

View file

@ -992,7 +992,10 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan
@Override
public void toggleControls() {
controlsAndInfo.toggleControls();
WebRtcControls controlState = viewModel.getWebRtcControls().getValue();
if (controlState != null && !controlState.displayIncomingCallButtons()) {
controlsAndInfo.toggleControls();
}
}
@Override