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

Commit 2cf79949 authored by Vinit Nayak's avatar Vinit Nayak Committed by Android (Google) Code Review
Browse files

Merge "Update test for change in calculation of split portrait clipping" into tm-qpr-dev

parents f9d418b9 190fa376
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ class FullscreenDrawParamsTest : DeviceProfileBaseTest() {
                /* taskViewScale= */ 1.0f,  /* previewWidth= */ 0, dp, mPreviewPositionHelper)

        // Probably unhelpful, but also unclear how to test otherwise ¯\_(ツ)_/¯
        val fullscreenTaskHeight = (dp.heightPx - dp.taskbarSize) *
        val fullscreenTaskHeight = dp.heightPx *
                (1 - (splitBounds.topTaskPercent + splitBounds.dividerHeightPercent))
        val canvasScreenRatio = canvasHeight / fullscreenTaskHeight
        val expectedBottomHint = dp.taskbarSize * canvasScreenRatio