diff --git a/app/src/main/java/org/thoughtcrime/securesms/WebRtcCallActivity.java b/app/src/main/java/org/thoughtcrime/securesms/WebRtcCallActivity.java index 554da0d4a..42a39e5e1 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/WebRtcCallActivity.java +++ b/app/src/main/java/org/thoughtcrime/securesms/WebRtcCallActivity.java @@ -836,7 +836,7 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan if (feature.isPresent()) { FoldingFeature foldingFeature = (FoldingFeature) feature.get(); Rect bounds = foldingFeature.getBounds(); - if (foldingFeature.getState() == FoldingFeature.State.HALF_OPENED && bounds.top == bounds.bottom) { + if (foldingFeature.isSeparating()) { Log.d(TAG, "OnWindowLayoutInfo accepted: ensure call view is in table-top display mode"); viewModel.setFoldableState(WebRtcControls.FoldableState.folded(bounds.top)); } else {