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

Commit 79948f74 authored by dshivangi's avatar dshivangi
Browse files

Consistently use device posture for auto-rotate operations

Standardizes auto-rotate settings to exclusively use device posture, removing inconsistent device state references.

Converts device state to posture at critical points and applies `DeviceStateRotationLockKey` annotations for clarity and correct usage.

Test: atest DeviceStateAutoRotateSettingControllerTests DeviceStateAutoRotateSettingManagerImplTest
Fixes: 419209239
Flag: com.android.window.flags.enable_device_state_auto_rotate_setting_refactor
Change-Id: I01dfdcd6196395fa743758ab489303cae4bb600d
parent 68cb0d5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment