summaryrefslogtreecommitdiff
path: root/wifi/java/src
diff options
context:
space:
mode:
author Kevin Chyn <kchyn@google.com> 2023-04-21 22:00:11 +0000
committer Kevin Chyn <kchyn@google.com> 2023-04-24 06:57:13 +0000
commit4162d60f3afad04fe27c3289b1f949d94d1f68e1 (patch)
tree2d3815669052562cc42ce2a80df5ee4e92e3e0fc /wifi/java/src
parent940fcd1e8c8032507cf2566b5204683d6c7d5723 (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