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

Commit b677225f authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Android (Google) Code Review
Browse files

Merge "Relax the requirement of making a DBUS call for creating the Bluez Device."

parents 742437f2 470cfb8e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1406,7 +1406,9 @@ public class BluetoothService extends IBluetooth.Stub {
        }

        boolean ret;
        if (getBondState(address) == BluetoothDevice.BOND_BONDED) {
        // Just do the SDP if the device is already  created and UUIDs are not
        // NULL, else create the device and then do SDP.
        if (isRemoteDeviceInCache(address) && getRemoteUuids(address) != null) {
            String path = getObjectPathFromAddress(address);
            if (path == null) return false;