OSDN Git Service

Bluetooth: fix parameter name in onConnectionUpdated
authorJakub Pawlowski <jpawlowski@google.com>
Thu, 14 Sep 2017 15:24:15 +0000 (08:24 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Thu, 14 Sep 2017 19:23:59 +0000 (19:23 +0000)
Test: compilation
Change-Id: I625e4ca63477b795310ebb42ca5e9a0549523cc5

core/java/android/bluetooth/BluetoothGattServerCallback.java

index 22eba35..2c8114b 100644 (file)
@@ -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) {
     }