Fix showing control bottom sheet on incoming rings.
This commit is contained in:
parent
af9d16852e
commit
23a58ac064
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue