summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-04-26 23:46:19 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-04-26 23:50:46 +0800
commit6f828594219850624d71e258fac2ec43c8ae40f1 (patch)
tree7e5b206a179c4c62bfbf7ba61cf2e400e5f3102e /libs/androidfw/AssetsProvider.cpp
parent0b91be7283d9221e5f548c3b6ae2c07135d2ee2b (diff)
Check physical upside down for seamless rotation
The "UpsideDown" field of DisplayRotation stands for reverse portrait. So the general up side down rotation should be ROTATION_180. Also move up the condition of movable navigation bar, which should have higher priority to allow seamless rotation. Because it also means that upside down is supported. Fixes: 229671538 Test: atest DisplayRotationTests#testShouldRotateSeamlessly Change-Id: I9165f44b42fd058cb52753ecdf3cb98789c675d2
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions