Skip to content
Commit 1ddaa9f6 authored by Darryl L Johnson's avatar Darryl L Johnson
Browse files

Update DeviceStateProviderImpl to read from device state config file.

This change introduces the device_state_configuration.xml file schema
and updates DeviceStateProviderImpl to read the set of supported states
from the configuration file. The file schema and provider only support
the lid switch condition, support for hinge angle will be added in a
follow-up change.

Test: atest DeviceStateProviderImplTest
Test: manual - place config on device and verify device state changes
with lid switch

Bug: 159401800

Change-Id: I4472e23a5c8dbdacfe56aa2570eafa84033a7bfd
parent 79477111
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment