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

Commit af5e9933 authored by Zach Johnson's avatar Zach Johnson
Browse files

Revert "Bluetooth: preserve one advertisement slot for GMS core"

This reverts commit a70a16b3.

Reason for revert: This breaks platforms that only support a single advertising slot.

Bug: 76135219
Test: advertising does not work, revert change, advertising works
Change-Id: Ib8c823eb9990cc06bad95c8c3ad0129afb245e00
parent a70a16b3
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -680,10 +680,6 @@ public final class BluetoothAdapter {
        if (!getLeAccess()) {
            return null;
        }
        if (!isMultipleAdvertisementSupported()) {
            Log.e(TAG, "Bluetooth LE advertising not supported");
            return null;
        }
        synchronized (mLock) {
            if (sBluetoothLeAdvertiser == null) {
                sBluetoothLeAdvertiser = new BluetoothLeAdvertiser(mManagerService);