summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jakub Pawlowski <jpawlowski@google.com> 2017-09-14 19:50:18 +0000
committer android-build-merger <android-build-merger@google.com> 2017-09-14 19:50:18 +0000
commit618ea49ccfc36c60cb640e695e0b6ebc74dd368b (patch)
treebb6edebc9fdaa447483a250ec9513929af735f10
parent379961a33f2b9f559b08fe53fb865ca110b441b9 (diff)
parentdd71df9d41ca3b3367a2aee0ebf2e17e53094c0d (diff)
Merge "Bluetooth: fix parameter name in onConnectionUpdated" am: 1f53eb76e4 am: 8ab1ed1789
am: dd71df9d41 Change-Id: I46d8cf106ed9c2b22e5dfc2b0a38588622c140e8
-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) {
}