From 8e568ec84c0000798fd5adeddff865b63943e654 Mon Sep 17 00:00:00 2001 From: fen wang Date: Mon, 13 Mar 2017 19:57:25 +0900 Subject: [PATCH] Initialize LDAC to ABR mode Bug: 35381097 Change-Id: Idcc2fabe86acaf441f5a71f5d2bb66ad29252cdb --- src/com/android/settings/DevelopmentSettings.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java index 06c3050ca00..7a5cb3ca0f6 100644 --- a/src/com/android/settings/DevelopmentSettings.java +++ b/src/com/android/settings/DevelopmentSettings.java @@ -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: