packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/DevicePostureControllerImplTest.kt
0 → 100644
+143
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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