libs/WindowManager/Jetpack/src/androidx/window/common/DeviceStateManagerPostureProducer.java
0 → 100644
+93
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
device state to posture via a config. This updates the sample Sidecar/Extension implementation for the WM Jetpack Library to read the mapping of system DeviceState provided by DeviceStateManager from a config and apply the translation to Jetpack Posture when the device state changes. Bug: 173428759 Bug: 181248887 Test: Manual - overlay config value on Jumbo and verify correct mapping Test: ./gradlew window:window:test Change-Id: I74d71a67e72976ade88122cd8eda5f16b2301c32