Skip to content
Commit 09a70ca3 authored by Darryl L Johnson's avatar Darryl L Johnson
Browse files

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
parent 292aa4a1
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