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

Skip to content
Commit d41d1a69 authored by Christian Göllner's avatar Christian Göllner
Browse files

Device state based auto-rotation setting: add fallback setting mechanism

This is required so that when the device goes into a state where the setting is ignored (e.g. half-folded), it falls back to the setting that is specified in the config, instead of simply the last state that was set.

This helps apps that read the auto rotation setting to make decision changes to get the correct value.

Bug: 203189552
Test: DeviceStateRotationLockSettingControllerTest
Change-Id: I3c6b006dc7ffdcfff62798558f09599f63a9f70a
parent 09e9e3b3
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