commit | 5632f4b1bd82a40190cbd5747f76967f8ac25a00 | [log] [tgz] |
---|---|---|
author | ryanlwlin <ryanlwlin@google.com> | Wed Aug 25 14:37:54 2021 +0800 |
committer | ryanlwlin <ryanlwlin@google.com> | Wed Aug 25 14:49:41 2021 +0800 |
tree | 88688ffbe21e5f3a88b93cb6865dd657ae3499d9 | |
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