fixup! Consolidate Call UI visibility selection logic.

This commit is contained in:
Alex Hart 2020-05-18 16:43:30 -03:00
parent f2847f9aa5
commit a6819448b9

View File

@ -360,7 +360,7 @@ public class WebRtcCallView extends FrameLayout {
controls = webRtcControls; controls = webRtcControls;
if (!currentVisibleViewSet.equals(lastVisibleSet)) { if (!currentVisibleViewSet.equals(lastVisibleSet) || !shouldFadeControls(controls)) {
fadeInNewUiState(lastVisibleSet); fadeInNewUiState(lastVisibleSet);
post(() -> pictureInPictureGestureHelper.setVerticalBoundaries(status.getBottom(), speakerToggle.getTop())); post(() -> pictureInPictureGestureHelper.setVerticalBoundaries(status.getBottom(), speakerToggle.getTop()));
} }