summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorryanlwlin <ryanlwlin@google.com>2021-08-25 14:37:54 +0800
committerryanlwlin <ryanlwlin@google.com>2021-08-25 14:49:41 +0800
commit5632f4b1bd82a40190cbd5747f76967f8ac25a00 (patch)
tree88688ffbe21e5f3a88b93cb6865dd657ae3499d9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5082dcb7fd5832181620cd69173fcd320043a2db (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