summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDarryl L Johnson <darryljohnson@google.com>2021-01-25 11:11:18 -0800
committerDarryl L Johnson <darryljohnson@google.com>2021-01-25 15:58:27 -0800
commit12b4ecdb9d0ed3d604f7522457653b20d149df7b (patch)
tree6c60521e1e1891464b9fe86976a6c65d1334dde7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9e5ec68e4d7ff5bddd67da1b70d2ab6a7fc6b7c6 (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/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions