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

Commit 5e432142 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Cleanup removal of taskbarSize from calculation" into tm-qpr-dev

parents 4613b0f0 70092b09
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 {