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

Commit b7bbcd7f authored by Cole Faust's avatar Cole Faust
Browse files

Fix MathRoundIntLong errorprone issue

Bug: 253827323
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I15e6cf4d1bbdc55db10971b6bf28063a445ddf33
parent e8c19ca5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -304,8 +304,7 @@ public class ContentRecorderTests extends WindowTestsBase {
        mContentRecorder.updateRecording();

        // Resize the output surface.
        final Point newSurfaceSize = new Point(Math.round(mSurfaceSize.x / 2f),
                Math.round(mSurfaceSize.y * 2));
        final Point newSurfaceSize = new Point(Math.round(mSurfaceSize.x / 2f), mSurfaceSize.y * 2);
        doReturn(newSurfaceSize).when(mWm.mDisplayManagerInternal).getDisplaySurfaceDefaultSize(
                anyInt());
        mContentRecorder.onConfigurationChanged(