summaryrefslogtreecommitdiffstats
path: root/core/java/android/bluetooth/BluetoothGattCallback.java
diff options
context:
space:
mode:
authorAndre Eisenbach <eisenbach@google.com>2014-08-19 17:58:55 -0700
committerPrerepa Viswanadham <dham@google.com>2014-08-20 02:03:57 +0000
commit4072da041da2911dd56635b530b276671ce0199d (patch)
treee986a98c437d74b7408fd1b43e690ab4977adc68 /core/java/android/bluetooth/BluetoothGattCallback.java
parenta66c40bf6e0fb79ead6d8a9fc29c5671fa7b1206 (diff)
downloadframeworks_base-4072da041da2911dd56635b530b276671ce0199d.zip
frameworks_base-4072da041da2911dd56635b530b276671ce0199d.tar.gz
frameworks_base-4072da041da2911dd56635b530b276671ce0199d.tar.bz2
LE: Rename new MTU and connection paramter update APIs
bug 17005342 Change-Id: I23151e1e92fe86896fc2883f81aef82084bb4215
Diffstat (limited to 'core/java/android/bluetooth/BluetoothGattCallback.java')
-rw-r--r--core/java/android/bluetooth/BluetoothGattCallback.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/bluetooth/BluetoothGattCallback.java b/core/java/android/bluetooth/BluetoothGattCallback.java
index 5817d68..19900ec 100644
--- a/core/java/android/bluetooth/BluetoothGattCallback.java
+++ b/core/java/android/bluetooth/BluetoothGattCallback.java
@@ -143,14 +143,14 @@ public abstract class BluetoothGattCallback {
* Callback indicating the MTU for a given device connection has changed.
*
* This callback is triggered in response to the
- * {@link BluetoothGatt#configureMTU} function, or in response to a connection
+ * {@link BluetoothGatt#requestMtu} function, or in response to a connection
* event.
*
- * @param gatt GATT client invoked {@link BluetoothGatt#configureMTU}
+ * @param gatt GATT client invoked {@link BluetoothGatt#requestMtu}
* @param mtu The new MTU size
* @param status {@link BluetoothGatt#GATT_SUCCESS} if the MTU has been changed successfully
*/
- public void onConfigureMTU(BluetoothGatt gatt, int mtu, int status) {
+ public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) {
}
/**