Initialize LDAC to ABR mode
Bug: 35381097 Change-Id: Idcc2fabe86acaf441f5a71f5d2bb66ad29252cdb
This commit is contained in:
committed by
Pavlin Radoslavov
parent
21de66bc0c
commit
8e568ec84c
@@ -1805,10 +1805,10 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
|
|||||||
mBluetoothSelectA2dpChannelMode.setValue(values[index]);
|
mBluetoothSelectA2dpChannelMode.setValue(values[index]);
|
||||||
mBluetoothSelectA2dpChannelMode.setSummary(summaries[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);
|
values = getResources().getStringArray(R.array.bluetooth_a2dp_codec_ldac_playback_quality_values);
|
||||||
summaries = getResources().getStringArray(R.array.bluetooth_a2dp_codec_ldac_playback_quality_summaries);
|
summaries = getResources().getStringArray(R.array.bluetooth_a2dp_codec_ldac_playback_quality_summaries);
|
||||||
index = 0;
|
index = 3;
|
||||||
mBluetoothSelectA2dpLdacPlaybackQuality.setValue(values[index]);
|
mBluetoothSelectA2dpLdacPlaybackQuality.setValue(values[index]);
|
||||||
mBluetoothSelectA2dpLdacPlaybackQuality.setSummary(summaries[index]);
|
mBluetoothSelectA2dpLdacPlaybackQuality.setSummary(summaries[index]);
|
||||||
}
|
}
|
||||||
@@ -1965,6 +1965,7 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
|
|||||||
case 0:
|
case 0:
|
||||||
case 1:
|
case 1:
|
||||||
case 2:
|
case 2:
|
||||||
|
case 3:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
index = -1;
|
index = -1;
|
||||||
@@ -2151,6 +2152,7 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
|
|||||||
case 0:
|
case 0:
|
||||||
case 1:
|
case 1:
|
||||||
case 2:
|
case 2:
|
||||||
|
case 3:
|
||||||
codecSpecific1Value = 1000 + index;
|
codecSpecific1Value = 1000 + index;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user