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

Commit 00cc1847 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 6a7bb069 9d3389d1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -676,6 +676,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);