diff options
| author | 2023-04-21 22:00:11 +0000 | |
|---|---|---|
| committer | 2023-04-24 06:41:27 +0000 | |
| commit | 4c2b792c116e04591b0d28235ca6329b944ecf32 (patch) | |
| tree | 27c3aea5578c6f9ee1eca6164dd536a3ec0d004b /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | c3039468256d43637d4296680b38c304a5c80d82 (diff) | |
Also reverse rotation for #freezeRotation path
When auto-rotation is disabled, users can apply the suggested rotation
using the rotation icon from SysUI. The sensor value passed to
DisplayRotation#freezeRotation(int) that comes from
WindowManagerService#freezeDisplayRotation also needs to apply the
same reversing logic as DisplayRotation#rotationForOrientation.
Fixes: 275286150
Test: atest DisplayRotationTests
Change-Id: I985ae560d8eff6ea063206c1e39bd694ab576fde
Merged-In: I985ae560d8eff6ea063206c1e39bd694ab576fde
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions