Merge "Initialize LDAC to ABR mode"

This commit is contained in:
Treehugger Robot
2017-03-28 04:54:19 +00:00
committed by Gerrit Code Review

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: