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

Commit ec36db12 authored by Roy Chou's avatar Roy Chou Committed by Android (Google) Code Review
Browse files

Merge "fix(window magnification): fix...

Merge "fix(window magnification): fix changeMagnificationSize_expectedWindowSize presubmit error" into main
parents 8c3b3cfc 94bc29c8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1278,7 +1278,8 @@ public class WindowMagnificationControllerTest extends SysuiTestCase {

        final float magnificationScaleLarge = 2.5f;
        final int initSize = Math.min(bounds.width(), bounds.height()) / 3;
        final int magnificationSize = (int) (initSize * magnificationScaleLarge);
        final int magnificationSize = (int) (initSize * magnificationScaleLarge)
                - (int) (initSize * magnificationScaleLarge) % 2;

        final int expectedWindowHeight = magnificationSize;
        final int expectedWindowWidth = magnificationSize;