Merge "Add default value to Bluetooth AVRCP version property get" am: 84cf0b2a4b
am: 0347c57ef5
Change-Id: I65b5233f4980b4981a58e3b4059999c2edb4232e
This commit is contained in:
@@ -1789,7 +1789,7 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
|
||||
// Init the AVRCP Version - Default
|
||||
values = getResources().getStringArray(R.array.bluetooth_avrcp_version_values);
|
||||
summaries = getResources().getStringArray(R.array.bluetooth_avrcp_versions);
|
||||
String value = SystemProperties.get(BLUETOOTH_AVRCP_VERSION_PROPERTY);
|
||||
String value = SystemProperties.get(BLUETOOTH_AVRCP_VERSION_PROPERTY, values[0]);
|
||||
index = mBluetoothSelectAvrcpVersion.findIndexOfValue(value);
|
||||
mBluetoothSelectAvrcpVersion.setValue(values[index]);
|
||||
mBluetoothSelectAvrcpVersion.setSummary(summaries[index]);
|
||||
|
Reference in New Issue
Block a user