Darryl L Johnson 7e607c173f Update sample Sidecar/Extension implementation to allow mapping system
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🪟test

Change-Id: I74d71a67e72976ade88122cd8eda5f16b2301c32
2021-03-19 04:48:19 -07:00
..