Skip to content
Commit 12b4ecdb authored by Darryl L Johnson's avatar Darryl L Johnson
Browse files

Ensure DeviceStateProviderImpl considers first state before others.

DeviceStateProviderImpl#notifyDeviceStateChangedIfNeeded() would skip
the first state and consider other states, before falling back to the
first state if no others match. This fails to handle the case where a
state is declared in the config file without any conditions to allow the
state to be requested externally (for ex, TENT mode).

Fixes: 178387437
Test: atest DeviceStateProviderImplTest
Change-Id: I7240c412b98978028c3d86257723cf00dba28ea0
parent 9e5ec68e
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