summaryrefslogtreecommitdiff
path: root/libs/androidfw
diff options
context:
space:
mode:
author Nick Chameyev <nickchameyev@google.com> 2022-04-27 12:51:50 +0000
committer Nick Chameyev <nickchameyev@google.com> 2022-04-27 13:05:08 +0000
commit624b03d6cd72e17d2ecd5533a0c60fce6b227562 (patch)
treefaa91187af3b840ab2e1504c1abba0f1145c596b /libs/androidfw
parenta3193ed1db1b077635d95d0983bec7685ab8176e (diff)
Respect allowAllRotations for rotation suggestion button
AllowAllRotation config flag controls if it is allowed to perform rotation in all directions (including upside down). This config is true for tablets to allow upside down landscape rotation. When auto rotate is on this allows to perform this rotation, but when auto rotate is off, rotation suggestion button didn't respect this configuration. Adding allowing to show the rotation suggestion button when this configuration is 'true'. Bug: 229565988 Test: atest WmTests:DisplayRotationTests Change-Id: I62fd2f49b87bf1739baac968581f94f9b9b181a8
Diffstat (limited to 'libs/androidfw')
0 files changed, 0 insertions, 0 deletions