summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothDevice.java
diff options
context:
space:
mode:
authorWilliam Escande <wescande@google.com>2022-03-15 12:44:39 +0100
committerWilliam Escande <wescande@google.com>2022-03-15 12:44:39 +0100
commit0ca4106d159659a866db83ae124e79288006003b (patch)
tree24f27399a220a1bc38ad1c8de07fc8e2b77ebfa6 /framework/java/android/bluetooth/BluetoothDevice.java
parentfb2277f353d20a915b38221cf4e6ae59e9f17ae0 (diff)
API Review: Add prepareToEnterProcess javadoc
Bug: 221851154 Test: No Tag: #refactor Change-Id: I8df00bd0a73207117b05a89dc916707f74e970e3
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 ff8ce5b9ea..8aef778b31 100644
--- a/framework/java/android/bluetooth/BluetoothDevice.java
+++ b/framework/java/android/bluetooth/BluetoothDevice.java
@@ -1322,7 +1322,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) {