summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Christian Göllner <chrisgollner@google.com> 2023-04-26 11:31:07 +0200
committer Christian Göllner <chrisgollner@google.com> 2023-04-27 06:21:50 +0000
commit435f835d908ea195d7882f3f747ec669ed9aea6d (patch)
tree3b9b78859b38ffefaf5eac98028d28b88ceea491 /libs/input/PointerController.cpp
parentd0b406dd51c50e1f1e21b003a41aa3e51a23aa76 (diff)
Fixes foldable autorotation setting being out of sync in QS and Settings
Both QS (SystemUI) and Settings, were using the same class to update foldable auto-rotation settings. Since both are in different processes, they have different internal memory state. There was a bug where the internal state for the persisted setting was only changed in the process that changed the setting. When then trying to change the setting in the other process, it didn't work as it thought that the setting was the same as before. Test: DeviceStateRotationLockSettingsManagerTest.java Test: Manually - Change settings in both QS and Settings and read logs. Fixes: 279603743 Change-Id: I3f28027d5e24796ceb01fc1eb164aac8814a1753 Merged-In: I3f28027d5e24796ceb01fc1eb164aac8814a1753
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions