Skip to content
Commit 435f835d authored by Christian Göllner's avatar Christian Göllner Committed by Christian Göllner
Browse files

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
parent d0b406dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment