Skip to content
Commit 6a6ec112 authored by Darryl L Johnson's avatar Darryl L Johnson
Browse files

Add support for sensor conditions in device state configuration file.

This change adds support for toggling device states based on sensor
values. For ex, a device with a hinge angle sensor can specify device
states based on the current hinge angle.

Test: atest DeviceStateProviderImplTest
Test: manual - place config on device and verify device state changes
with hinge angle sensor

Bug: 159401800
Change-Id: I41372c252fdc4c9d4f0306283cf260f793271195
parent 1ddaa9f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment