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

Commit 26db3bb6 authored by Mateusz Cicheński's avatar Mateusz Cicheński
Browse files

The shelf height was mistakenly provided as width, making it equal to 0.

Bug: 244797561
Test: manually
Change-Id: I28e9c34bb0feb643c5d7b652c055d5fdceaec878
parent 37bcfadd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1535,7 +1535,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
        Rect keepClearArea;
        if (!ENABLE_PIP_KEEP_CLEAR_ALGORITHM) {
            // make the height equal to hotseatBarSizePx only
            keepClearArea = new Rect(0, 0, mDp.hotseatBarSizePx, 0);
            keepClearArea = new Rect(0, 0, 0, mDp.hotseatBarSizePx);
            return keepClearArea;
        }
        // the keep clear area in global screen coordinates, in pixels