diff options
author | ryanlwlin <ryanlwlin@google.com> | 2021-08-25 14:37:54 +0800 |
---|---|---|
committer | ryanlwlin <ryanlwlin@google.com> | 2021-08-25 14:49:41 +0800 |
commit | 5632f4b1bd82a40190cbd5747f76967f8ac25a00 (patch) | |
tree | 88688ffbe21e5f3a88b93cb6865dd657ae3499d9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5082dcb7fd5832181620cd69173fcd320043a2db (diff) |
Fix rotation test faiulre on foldable devices
In our test, we assume the device is under portrait mode, which is not
true for foldables.
To fix it, we caclue the rotation degree based on the current rotation.
Bug: 197623044
Test: run WindowMagnificationControllerTest with the device under the
landscape mode.
Change-Id: I4c27a193af05f402246aa8b3b490e8bde9d93fc7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions