Properly hide toolbar gradient in calling view.

This commit is contained in:
Nicholas Tinsley 2023-12-22 12:32:33 -05:00 committed by Clark Chen
parent b280ff7495
commit c837840e04

View file

@ -199,7 +199,10 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan
controlsAndInfo = new ControlsAndInfoController(this, callScreen, callOverflowPopupWindow, viewModel, controlsAndInfoViewModel);
controlsAndInfo.addVisibilityListener(new FadeCallback());
fullscreenHelper.showAndHideWithSystemUI(getWindow(), findViewById(R.id.webrtc_call_view_toolbar_text), findViewById(R.id.webrtc_call_view_toolbar_no_text));
fullscreenHelper.showAndHideWithSystemUI(getWindow(),
findViewById(R.id.call_screen_header_gradient),
findViewById(R.id.webrtc_call_view_toolbar_text),
findViewById(R.id.webrtc_call_view_toolbar_no_text));
lifecycleDisposable.add(controlsAndInfo);