summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jakub Pawlowski <jpawlowski@google.com> 2017-09-14 19:24:06 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-09-14 19:24:06 +0000
commit1f53eb76e45344673adab61e776671976cb759ad (patch)
tree3617e218808bb420addba0c0b4a14ca3aa071116
parent48d3181b1d6a978cf080d8082aedae38420735bb (diff)
parent14a381bc3ef253bf21b8a83825b131c0339a0cb4 (diff)
Merge "Bluetooth: fix parameter name in onConnectionUpdated"
-rw-r--r--core/java/android/bluetooth/BluetoothGattServerCallback.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/bluetooth/BluetoothGattServerCallback.java b/core/java/android/bluetooth/BluetoothGattServerCallback.java
index 22eba351b361..2c8114be3fe3 100644
--- a/core/java/android/bluetooth/BluetoothGattServerCallback.java
+++ b/core/java/android/bluetooth/BluetoothGattServerCallback.java
@@ -184,7 +184,7 @@ public abstract class BluetoothGattServerCallback {
/**
* Callback indicating the connection parameters were updated.
*
- * @param gatt The remote device involved
+ * @param device The remote device involved
* @param interval Connection interval used on this connection, 1.25ms unit. Valid range is from
* 6 (7.5ms) to 3200 (4000ms).
* @param latency Slave latency for the connection in number of connection events. Valid range
@@ -195,7 +195,7 @@ public abstract class BluetoothGattServerCallback {
* successfully
* @hide
*/
- public void onConnectionUpdated(BluetoothDevice gatt, int interval, int latency, int timeout,
+ public void onConnectionUpdated(BluetoothDevice device, int interval, int latency, int timeout,
int status) {
}