diff options
| author | 2022-04-27 12:51:50 +0000 | |
|---|---|---|
| committer | 2022-04-27 13:05:08 +0000 | |
| commit | 624b03d6cd72e17d2ecd5533a0c60fce6b227562 (patch) | |
| tree | faa91187af3b840ab2e1504c1abba0f1145c596b /libs/androidfw | |
| parent | a3193ed1db1b077635d95d0983bec7685ab8176e (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