Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e568ec8 authored by fen wang's avatar fen wang Committed by Pavlin Radoslavov
Browse files

Initialize LDAC to ABR mode

Bug: 35381097
Change-Id: Idcc2fabe86acaf441f5a71f5d2bb66ad29252cdb
parent 21de66bc
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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: