Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6247e9a5 authored by Christian Göllner's avatar Christian Göllner Committed by Android Build Coastguard Worker
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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:435f835d908ea195d7882f3f747ec669ed9aea6d)
Merged-In: I3f28027d5e24796ceb01fc1eb164aac8814a1753
Change-Id: I3f28027d5e24796ceb01fc1eb164aac8814a1753
parent c7751afa
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