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

Commit e13ae1f4 authored by Etienne Ruffieux's avatar Etienne Ruffieux Committed by Automerger Merge Worker
Browse files

Merge "Removed SDK comparison to fix errorprone target" am: b8d40257 am:...

Merge "Removed SDK comparison to fix errorprone target" am: b8d40257 am: 1887d984 am: f99a1410 am: fdb18c88

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2047903



Change-Id: I2b482b4354f9d532e0b4ab66d4965114b6725744
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 7f8b4d86 fdb18c88
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1024,9 +1024,6 @@ public final class BluetoothA2dp implements BluetoothProfile {
                && value != BluetoothA2dp.OPTIONAL_CODECS_PREF_DISABLED
                && value != BluetoothA2dp.OPTIONAL_CODECS_PREF_ENABLED) {
            Log.e(TAG, "Invalid value passed to setOptionalCodecsEnabled: " + value);
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
                throw new IllegalArgumentException("Invalid codec preference");
            }
            return;
        }
        final IBluetoothA2dp service = getService();