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

Commit e6f17dd8 authored by Omair Kamil's avatar Omair Kamil Committed by Gerrit Code Review
Browse files

Merge "Fix check for maximum extended advertising events in BluetoothLeAdvertiser." into main

parents 5d1da914 5f43e0e5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -553,9 +553,9 @@ public final class BluetoothLeAdvertiser {
        }

        if (maxExtendedAdvertisingEvents != 0
                && !mBluetoothAdapter.isLePeriodicAdvertisingSupported()) {
                && !mBluetoothAdapter.isLeExtendedAdvertisingSupported()) {
            throw new IllegalArgumentException(
                    "Can't use maxExtendedAdvertisingEvents with controller that don't support "
                    "Can't use maxExtendedAdvertisingEvents with controller that doesn't support "
                            + "LE Extended Advertising");
        }