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

Commit 2d3b98d8 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh
Browse files

Send the address of the device with the UUID intent.

Change-Id: I6357d482550e9e02edf221add318ecd9cfadcb66
parent 10eac971
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1238,6 +1238,7 @@ public class BluetoothService extends IBluetooth.Stub {
    /*package*/ synchronized void sendUuidIntent(String address) {
        ParcelUuid[] uuid = getUuidFromCache(address);
        Intent intent = new Intent(BluetoothDevice.ACTION_UUID);
        intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mAdapter.getRemoteDevice(address));
        intent.putExtra(BluetoothDevice.EXTRA_UUID, uuid);
        mContext.sendBroadcast(intent, BLUETOOTH_ADMIN_PERM);