Update Bluetooth AVRCP default version to 1.5
Bug: 154780267 Test: Manual Change-Id: I370905097f9b64393b7d8705ce555f908b3604da
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user