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

Commit 49244d80 authored by tim peng's avatar tim peng Committed by Android (Google) Code Review
Browse files

Merge "BTHS will have no sound after disable HD audio" into sc-dev

parents 3b71dd20 93ee8efe
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -60,14 +60,6 @@ public class BluetoothCodecDialogPreferenceController extends
        ((BaseBluetoothDialogPreference) mPreference).setCallback(this);
    }

    @Override
    public void onHDAudioEnabled(boolean enabled) {
        if (!enabled) {
            // If option codec is disabled, SBC is the only only one available codec.
            onIndexUpdated(convertCfgToBtnIndex(BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC));
        }
    }

    @Override
    public List<Integer> getSelectableIndex() {
        List<Integer> index = new ArrayList<>();