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

Commit 718970bc authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 26061 into eclair

* changes:
  Send the UUID intent even if apps have not requested for it.
parents c6a22bef 6179965e
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -1192,15 +1192,14 @@ public class BluetoothService extends IBluetooth.Stub {

    /* Broadcast the Uuid intent */
    /*package*/ synchronized void sendUuidIntent(String address) {
        if (mUuidIntentTracker.contains(address)) {
        ParcelUuid[] uuid = getUuidFromCache(address);
        Intent intent = new Intent(BluetoothDevice.ACTION_UUID);
        intent.putExtra(BluetoothDevice.EXTRA_UUID, uuid);
        mContext.sendBroadcast(intent, BLUETOOTH_ADMIN_PERM);

        if (mUuidIntentTracker.contains(address))
            mUuidIntentTracker.remove(address);
    }
    }

    @Override
    protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) {