From 2d3b98d868cda30535505b2a2fba47aa1c9c052b Mon Sep 17 00:00:00 2001 From: Jaikumar Ganesh Date: Mon, 21 Sep 2009 16:11:01 -0700 Subject: [PATCH] Send the address of the device with the UUID intent. Change-Id: I6357d482550e9e02edf221add318ecd9cfadcb66 --- core/java/android/server/BluetoothService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java/android/server/BluetoothService.java b/core/java/android/server/BluetoothService.java index 253b1abb09679..e5b20bdef6cfe 100644 --- a/core/java/android/server/BluetoothService.java +++ b/core/java/android/server/BluetoothService.java @@ -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);