summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothDevice.java
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-17 01:09:15 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-17 01:09:15 +0000
commitad221bf0c86a98f68d69e06ad79e025a38563881 (patch)
tree592c23b8ee42946d534813f2a5a419197db2ba9d /framework/java/android/bluetooth/BluetoothDevice.java
parent2d0b6d82820b623c317d4b6c08f604e521123b15 (diff)
parentb25cc6990ec081ebccbd0fb62ced8073cd1a7e3d (diff)
Snap for 8310722 from b25cc6990ec081ebccbd0fb62ced8073cd1a7e3d to tm-release
Change-Id: Ib2298a055a80baf0309b3f178c541872d709fd2e
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothDevice.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothDevice.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/java/android/bluetooth/BluetoothDevice.java b/framework/java/android/bluetooth/BluetoothDevice.java
index 90aa3000e6..978c8ed4ac 100644
--- a/framework/java/android/bluetooth/BluetoothDevice.java
+++ b/framework/java/android/bluetooth/BluetoothDevice.java
@@ -1323,7 +1323,14 @@ public final class BluetoothDevice implements Parcelable, Attributable {
mAttributionSource = attributionSource;
}
- /** {@hide} */
+ /**
+ * Method should never be used anywhere. Only exception is from {@link Intent}
+ * Used to set the device current attribution source
+ *
+ * @param attributionSource The associated {@link AttributionSource} for this device in this
+ * process
+ * @hide
+ */
@SystemApi
@RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED)
public void prepareToEnterProcess(@NonNull AttributionSource attributionSource) {