From 14a381bc3ef253bf21b8a83825b131c0339a0cb4 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowski Date: Thu, 14 Sep 2017 08:24:15 -0700 Subject: [PATCH] Bluetooth: fix parameter name in onConnectionUpdated Test: compilation Change-Id: I625e4ca63477b795310ebb42ca5e9a0549523cc5 --- core/java/android/bluetooth/BluetoothGattServerCallback.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/bluetooth/BluetoothGattServerCallback.java b/core/java/android/bluetooth/BluetoothGattServerCallback.java index 22eba351b361f..2c8114be3fe33 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) { }