summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2024-04-19 14:01:26 -0700
committer Alejandro Nijamkin <nijamkin@google.com> 2024-04-19 14:01:26 -0700
commitd66f082777dbdd31cbc8b8752ccc5cf39b25a566 (patch)
tree9ef8b4e1e7c3435d47a3661f1c739408df835882 /libs/input/SpriteController.cpp
parent991d4df17bc45d282da8a3218f712700944e1224 (diff)
[flexiglass] Lockscreen scene returns to portrait mode.
Adds hydration of the 3 minimally required states in NotificationShadeWindowController in order to get it to calculate the correct screenOrientation value in adjustScreenOrientation. This makes the lockscreen scene return to portrait mode, even if system UI has been put in landscape mode while unlocked. Not yet ready to treat the bug as fixed because the orientation change button is showing and it's still possible to change the orientation to landcape while on the lockscreen scene. Bug: 335830658 Test: unit tests added Test: manually verified that hydration still works the same for the three added states (used printf debugging and compared calls of setKeyguardShowing, setBouncerShowing, and setKeyguardOccluded with flexiglass on or off) Test: manually verified that returning to the lockscreen scene after setting the device to landscape while unlocked, returns the device to portrair mode Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT Change-Id: Iff145fcc8b57b6273a8b2ceb0caa602e93e3e721
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions