am 9197081f: Merge change 26275 into eclair
Merge commit '9197081f8feca110455740874e06e05771f462c8' into eclair-plus-aosp * commit '9197081f8feca110455740874e06e05771f462c8': Send the address of the device with the UUID intent.
This commit is contained in:
@@ -1238,6 +1238,7 @@ public class BluetoothService extends IBluetooth.Stub {
|
|||||||
/*package*/ synchronized void sendUuidIntent(String address) {
|
/*package*/ synchronized void sendUuidIntent(String address) {
|
||||||
ParcelUuid[] uuid = getUuidFromCache(address);
|
ParcelUuid[] uuid = getUuidFromCache(address);
|
||||||
Intent intent = new Intent(BluetoothDevice.ACTION_UUID);
|
Intent intent = new Intent(BluetoothDevice.ACTION_UUID);
|
||||||
|
intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mAdapter.getRemoteDevice(address));
|
||||||
intent.putExtra(BluetoothDevice.EXTRA_UUID, uuid);
|
intent.putExtra(BluetoothDevice.EXTRA_UUID, uuid);
|
||||||
mContext.sendBroadcast(intent, BLUETOOTH_ADMIN_PERM);
|
mContext.sendBroadcast(intent, BLUETOOTH_ADMIN_PERM);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user