[MediaProjection] compare orientations of the same type
Attempted comparing orientations from different enums; manifested as wildly incorrect transformations when handling a rotation & the virtual display is resized. Bug: 289976187 Test: atest WmTests:ContentRecorderTests Test: manual check full display & single app capture with rotations Change-Id: I10b03c5169a03b6540181b4bc4a3f47fa421f675
Showing
- data/etc/services.core.protolog.json 6 additions, 0 deletionsdata/etc/services.core.protolog.json
- services/core/java/com/android/server/wm/ContentRecorder.java 11 additions, 2 deletions...ices/core/java/com/android/server/wm/ContentRecorder.java
- services/tests/wmtests/src/com/android/server/wm/ContentRecorderTests.java 58 additions, 8 deletions...tests/src/com/android/server/wm/ContentRecorderTests.java
Loading
Please register or sign in to comment