Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f53dbc5 authored by Shalika Pathirathna's avatar Shalika Pathirathna Committed by android-build-merger
Browse files

Merge "Fix preview image overlaps a call button during video call" am: 33cc4999 am: 2ec69519

am: 91c705de

Change-Id: I44e2684c301deed8687b69aa4b492bc8766fcc89
parents ad43cb15 91c705de
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -541,13 +541,13 @@ public class VideoCallFragment extends Fragment
      return new Point();
    }
    if (isLandscape()) {
      int stableInsetEnd =
      int systemWindowInsetEnd =
          getView().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL
              ? getView().getRootWindowInsets().getStableInsetLeft()
              : -getView().getRootWindowInsets().getStableInsetRight();
      return new Point(stableInsetEnd, 0);
              ? getView().getRootWindowInsets().getSystemWindowInsetLeft()
              : -getView().getRootWindowInsets().getSystemWindowInsetRight();
      return new Point(systemWindowInsetEnd, 0);
    } else {
      return new Point(0, -getView().getRootWindowInsets().getStableInsetBottom());
      return new Point(0, -getView().getRootWindowInsets().getSystemWindowInsetBottom());
    }
  }