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

Commit fd7d9c57 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Bluetooth: preserve one advertisement slot for GMS core" into pi-dev

parents a946d880 7020b015
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -680,6 +680,10 @@ 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);