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

Commit 7162c22d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Bluetooth: Fix for crash in multi advertiser"

parents edb7f451 2fdbb4fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -310,7 +310,7 @@ public final class BluetoothLeAdvertiser {
        public void onClientRegistered(int status, int clientIf) {
            Log.d(TAG, "onClientRegistered() - status=" + status + " clientIf=" + clientIf);
            synchronized (this) {
                if (status == BluetoothGatt.GATT_SUCCESS) {
                if (status == BluetoothGatt.GATT_SUCCESS && mBluetoothAdapter.isEnabled()) {
                    mClientIf = clientIf;
                    try {
                        mBluetoothGatt.startMultiAdvertising(mClientIf, mAdvertisement,