diff options
author | Jaikumar Ganesh <jaikumar@google.com> | 2009-09-21 16:11:01 -0700 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2009-09-21 16:11:01 -0700 |
commit | 2d3b98d868cda30535505b2a2fba47aa1c9c052b (patch) | |
tree | 23ac20e62442df8107d3e95051daa26ae0641ce9 /core/java/android/server/BluetoothService.java | |
parent | 10eac971b3a6e5f34a420dd68ebfa796553ad2b9 (diff) | |
download | frameworks_base-2d3b98d868cda30535505b2a2fba47aa1c9c052b.zip frameworks_base-2d3b98d868cda30535505b2a2fba47aa1c9c052b.tar.gz frameworks_base-2d3b98d868cda30535505b2a2fba47aa1c9c052b.tar.bz2 |
Send the address of the device with the UUID intent.
Change-Id: I6357d482550e9e02edf221add318ecd9cfadcb66
Diffstat (limited to 'core/java/android/server/BluetoothService.java')
-rw-r--r-- | core/java/android/server/BluetoothService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/server/BluetoothService.java b/core/java/android/server/BluetoothService.java index 253b1ab..e5b20bd 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); |