diff options
author | Darryl L Johnson <darryljohnson@google.com> | 2021-01-25 11:11:18 -0800 |
---|---|---|
committer | Darryl L Johnson <darryljohnson@google.com> | 2021-01-25 15:58:27 -0800 |
commit | 12b4ecdb9d0ed3d604f7522457653b20d149df7b (patch) | |
tree | 6c60521e1e1891464b9fe86976a6c65d1334dde7 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 9e5ec68e4d7ff5bddd67da1b70d2ab6a7fc6b7c6 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions