Update Bluetooth AVRCP default version to 1.5

Bug: 154780267
Test: Manual
Change-Id: I370905097f9b64393b7d8705ce555f908b3604da
This commit is contained in:
Ted Wang
2020-05-19 17:18:57 +08:00
parent c716801a8d
commit 7265525bc3

View File

@@ -63,7 +63,7 @@ public class BluetoothAvrcpVersionPreferenceController extends DeveloperOptionsP
public void updateState(Preference preference) {
final ListPreference listPreference = (ListPreference) preference;
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++) {
if (TextUtils.equals(currentValue, mListValues[i])) {
index = i;