diff options
| author | 2023-04-21 22:00:11 +0000 | |
|---|---|---|
| committer | 2023-04-24 06:57:13 +0000 | |
| commit | 4162d60f3afad04fe27c3289b1f949d94d1f68e1 (patch) | |
| tree | 2d3815669052562cc42ce2a80df5ee4e92e3e0fc /wifi/java/src | |
| parent | 940fcd1e8c8032507cf2566b5204683d6c7d5723 (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
Test: atest RotationUtilsTest
Change-Id: I985ae560d8eff6ea063206c1e39bd694ab576fde
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions