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
Loading
Please register or sign in to comment