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

Commit 30547ce3 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am: eeabd6b4

am: bc9c1d0e

Change-Id: I3b89011d02f159d951b39ddc8d43cb17fbd00432
parents 86c72f7e bc9c1d0e
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -2049,6 +2049,20 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
            codecTypeValue = BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC;
            codecPriorityValue = BluetoothCodecConfig.CODEC_PRIORITY_HIGHEST;
            break;
        case 6:
        synchronized (mBluetoothA2dpLock) {
            if (mBluetoothA2dp != null) {
                mBluetoothA2dp.enableOptionalCodecs();
            }
        }
        return;
        case 7:
        synchronized (mBluetoothA2dpLock) {
            if (mBluetoothA2dp != null) {
                mBluetoothA2dp.disableOptionalCodecs();
            }
        }
        return;
        default:
            break;
        }