summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothPbap.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-01-10 20:19:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-01-10 20:19:36 +0000
commit7937cc80914730eebf6fe98a05a21ca7029ec10c (patch)
treeaf4de1d807d63a73283882d8a13b77508e7da715 /framework/java/android/bluetooth/BluetoothPbap.java
parentc5458e75d957faadbcee9111c4e57e82324b716f (diff)
parentbf9ddc5eafe0666f8b6a8b3784cb25a9205474b9 (diff)
Merge "Add setConnectionPolicy to HidDevice and Pan. Clean up documentation for the method in Pbap."
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothPbap.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothPbap.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/java/android/bluetooth/BluetoothPbap.java b/framework/java/android/bluetooth/BluetoothPbap.java
index 2910150703..74ee2c3fba 100644
--- a/framework/java/android/bluetooth/BluetoothPbap.java
+++ b/framework/java/android/bluetooth/BluetoothPbap.java
@@ -274,15 +274,15 @@ public class BluetoothPbap implements BluetoothProfile {
}
/**
- * Pbap does not store connection policy, so this function only disconnects Pbap if
- * connectionPolicy is CONNECTION_POLICY_FORBIDDEN.
+ * Pbap does not store connection policy, so this function only disconnects pbap if
+ * connectionPolicy is {@link #CONNECTION_POLICY_FORBIDDEN}.
*
* <p> The device should already be paired.
* Connection policy can be one of {@link #CONNECTION_POLICY_ALLOWED},
* {@link #CONNECTION_POLICY_FORBIDDEN}, {@link #CONNECTION_POLICY_UNKNOWN}
*
* @param device Paired bluetooth device
- * @param connectionPolicy is the connection policy to set to for this profile
+ * @param connectionPolicy determines whether to disconnect the device
* @return true if pbap is successfully disconnected, false otherwise
* @hide
*/