diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-03-22 18:56:05 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-03-22 18:56:05 +0000 |
commit | bf33f598734f7b7fcfce63502aa693aa9aa1bc8d (patch) | |
tree | ba55a35b22dddebdf1acc4285914cc19d7ba2d41 | |
parent | 9a885d7439b4dff37f15e562fb1b15e959f76caf (diff) | |
parent | b7bbcd7f4d39bd8591a7867d758430ec7dee9dbc (diff) | |
download | base-bf33f598734f7b7fcfce63502aa693aa9aa1bc8d.tar.gz |
Merge "Fix MathRoundIntLong errorprone issue" into main
-rw-r--r-- | services/tests/wmtests/src/com/android/server/wm/ContentRecorderTests.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/tests/wmtests/src/com/android/server/wm/ContentRecorderTests.java b/services/tests/wmtests/src/com/android/server/wm/ContentRecorderTests.java index 887e5ee0c58a..e4436966ae03 100644 --- a/services/tests/wmtests/src/com/android/server/wm/ContentRecorderTests.java +++ b/services/tests/wmtests/src/com/android/server/wm/ContentRecorderTests.java @@ -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( |