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

Commit 17808e69 authored by Jack He's avatar Jack He Committed by Automerger Merge Worker
Browse files

Merge "Check all zero address when connecting gatt" am: 810b4917 am: a6e36417

parents 443ddcdf a6e36417
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3270,6 +3270,9 @@ public final class BluetoothDevice implements Parcelable, Attributable {
            if (iGatt == null) {
                // BLE is not supported
                return null;
            } else if (NULL_MAC_ADDRESS.equals(mAddress)) {
                Log.e(TAG, "Unable to connect gatt, invalid address " + mAddress);
                return null;
            }
            BluetoothGatt gatt = new BluetoothGatt(
                    iGatt, this, transport, opportunistic, phy, mAttributionSource);