diff options
author | Darryl L Johnson <darryljohnson@google.com> | 2020-12-09 18:04:13 -0800 |
---|---|---|
committer | Darryl L Johnson <darryljohnson@google.com> | 2021-02-03 14:00:08 -0800 |
commit | 09a70ca3ebbf93a46e91b48b72fd864cc96b0209 (patch) | |
tree | f7985c4073851a5e30cdcc224ce33a153fed1328 /rs/java/android/renderscript/ProgramStore.java | |
parent | 292aa4a173a8e8901c788909173767826e7653ec (diff) |
Allow DeviceStateProvider to provide optional String name for device states.
This CL updates the DeviceStateProvider interface to allow a provider to
supply device states that contain both an integer identifier and an
optional string name. The name is used alongside the integer identifier
when the state is printed in a human-readable form, for ex over ADB.
Test: atest DeviceStateProviderImplTest
Test: atest DeviceStateManagerServiceTest
Bug: 159401801
Change-Id: Ie23f5df4609dd9e5c67eb283f026cee57a788ee6
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions