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

Skip to content
Commit 4d80678d authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

DevicePostureControlller to use the device posture of the device display

Instead of using the CONCURRENT device state (multiple displays on the
device are being used), use the base (physical) device state.

Test: atest DevicePostureControllerImplTest
Test: manually set device state `adb shell cmd device_state state 4`,
then check sysui dumpsys, DozeSensors section and see posture is the
current display posture and not UNSUPPORTED/1000.
Fixes: 303543453
Flag: NONE

Change-Id: Id4cff55e197f3dc4c11d9e3bc4a2d0bccdcf516c
parent 3baabef4
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