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

Commit 70092b09 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Cleanup removal of taskbarSize from calculation

* See ag/20617554 for more context

Bug: 261110474
Test: FullscreenDrawParamsTest passes
Change-Id: Id13e811a0966bdcc17fc282303fe98a8b7290dbf
parent 86d092aa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -87,8 +87,8 @@ public class PreviewPositionHelper {
                taskPercent = mDesiredStagePosition != STAGE_POSITION_TOP_OR_LEFT
                        ? mSplitBounds.topTaskPercent
                        : (1 - (mSplitBounds.topTaskPercent + mSplitBounds.dividerHeightPercent));
                // Scale portrait height to that of (actual screen - taskbar inset)
                fullscreenTaskHeight = (screenHeightPx) * taskPercent;
                // Scale portrait height to that of the actual screen
                fullscreenTaskHeight = screenHeightPx * taskPercent;
                if (mTaskbarInApp) {
                    canvasScreenRatio = canvasHeight / fullscreenTaskHeight;
                } else {