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

Commit b1a93f05 authored by Alessandro Astone's avatar Alessandro Astone
Browse files

Explicitly make SBC Dual Channel an optional (HD) codec

Change-Id: I92f9c0bde560075bb887afff3095ff284fa6f5ce
parent 5ce924dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -467,7 +467,7 @@ public final class BluetoothCodecConfig implements Parcelable {
     * @return true if the codec is mandatory, otherwise false.
     */
    public boolean isMandatoryCodec() {
        return mCodecType == SOURCE_CODEC_TYPE_SBC;
        return mCodecType == SOURCE_CODEC_TYPE_SBC && mChannelMode != CHANNEL_MODE_DUAL_CHANNEL;
    }

    /**