Initialize LDAC to ABR mode

Bug: 35381097
Change-Id: Idcc2fabe86acaf441f5a71f5d2bb66ad29252cdb
This commit is contained in:
fen wang
2017-03-13 19:57:25 +09:00
committed by Pavlin Radoslavov
parent 21de66bc0c
commit 8e568ec84c

View File

@@ -1805,10 +1805,10 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
mBluetoothSelectA2dpChannelMode.setValue(values[index]);
mBluetoothSelectA2dpChannelMode.setSummary(summaries[index]);
// Init the LDAC Playback Quality - High
// Init the LDAC Playback Quality - ABR
values = getResources().getStringArray(R.array.bluetooth_a2dp_codec_ldac_playback_quality_values);
summaries = getResources().getStringArray(R.array.bluetooth_a2dp_codec_ldac_playback_quality_summaries);
index = 0;
index = 3;
mBluetoothSelectA2dpLdacPlaybackQuality.setValue(values[index]);
mBluetoothSelectA2dpLdacPlaybackQuality.setSummary(summaries[index]);
}
@@ -1965,6 +1965,7 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
case 0:
case 1:
case 2:
case 3:
break;
default:
index = -1;
@@ -2151,6 +2152,7 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
case 0:
case 1:
case 2:
case 3:
codecSpecific1Value = 1000 + index;
break;
default: