Merge "Update Bluetooth AVRCP default version to 1.5" into rvc-d1-dev am: bcc9f31b2b

Change-Id: I5d4c8ab070a79059bd8a9426c62e4af65d3cd53b
This commit is contained in:
TreeHugger Robot
2020-05-27 05:25:32 +00:00
committed by Automerger Merge Worker

View File

@@ -63,7 +63,7 @@ public class BluetoothAvrcpVersionPreferenceController extends DeveloperOptionsP
public void updateState(Preference preference) { public void updateState(Preference preference) {
final ListPreference listPreference = (ListPreference) preference; final ListPreference listPreference = (ListPreference) preference;
final String currentValue = SystemProperties.get(BLUETOOTH_AVRCP_VERSION_PROPERTY); final String currentValue = SystemProperties.get(BLUETOOTH_AVRCP_VERSION_PROPERTY);
int index = 0; // Defaults to AVRCP 1.4 int index = 0; // Defaults to AVRCP 1.5
for (int i = 0; i < mListValues.length; i++) { for (int i = 0; i < mListValues.length; i++) {
if (TextUtils.equals(currentValue, mListValues[i])) { if (TextUtils.equals(currentValue, mListValues[i])) {
index = i; index = i;