diff options
| author | 2022-04-26 23:46:19 +0800 | |
|---|---|---|
| committer | 2022-04-26 23:50:46 +0800 | |
| commit | 6f828594219850624d71e258fac2ec43c8ae40f1 (patch) | |
| tree | 7e5b206a179c4c62bfbf7ba61cf2e400e5f3102e /libs/androidfw/AttributeResolution.cpp | |
| parent | 0b91be7283d9221e5f548c3b6ae2c07135d2ee2b (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/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions