diff options
author | William Escande <wescande@google.com> | 2022-03-15 22:38:09 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-03-15 22:38:09 +0000 |
commit | 14ce8d377927c2896f93abbd835ff5843d0d8b48 (patch) | |
tree | 8e998f72ae3c0ce4aeb804ba98409aa1e45bb066 /framework/java/android/bluetooth/BluetoothDevice.java | |
parent | af267ac73b8c56bc9c6b135274a4f0efa014a08d (diff) | |
parent | 17f869d80e30ee3f9b0682c2844fecad522fe007 (diff) |
Merge "API Review: Add prepareToEnterProcess javadoc" am: 17f869d80e
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2026503
Change-Id: I64d63881e746373b343c5063b7a7010077b31ea8
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothDevice.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothDevice.java | 9 |
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) { |