OSDN Git Service

Add AttributionSource param to bluetooth scanning methods.
authorOli Lan <olilan@google.com>
Thu, 1 Apr 2021 12:16:00 +0000 (13:16 +0100)
committerOli Lan <olilan@google.com>
Thu, 1 Apr 2021 16:26:57 +0000 (17:26 +0100)
commit8a77cc20e85be8e3cd4bf5af2a90c1547c33c484
treece680bf75370b349f5c765dd1411a967b0acdecd
parent7388ee9811969ea59b8aa8cc4422e6304c9a0818
Add AttributionSource param to bluetooth scanning methods.

This adds an AttributionSource parameter to the AdapterService and
GattService methods that perform scanning or discovery.

Bug: 183203469
Test: atest GattServiceTest
Test: atest AdapterServiceTest
Test: atest CtsPermissionTestCases:android.permission.cts.NearbyDevicesPermissionTest
Change-Id: I2e8351786597437c88f128709c81255b87599a7e
binder/android/bluetooth/IBluetooth.aidl
binder/android/bluetooth/IBluetoothGatt.aidl