From ba4f57a1c6979676d20ff29a614deb64171230e6 Mon Sep 17 00:00:00 2001 From: Prerepa Viswanadham Date: Thu, 11 Sep 2014 13:39:16 -0700 Subject: Remove onConnectionCongested callback Bug:17289507 Change-Id: I49fd99d320084c618dcec756b832fb3b6a6aec51 --- .../android/bluetooth/BluetoothGattServerCallback.java | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'core/java/android/bluetooth/BluetoothGattServerCallback.java') diff --git a/core/java/android/bluetooth/BluetoothGattServerCallback.java b/core/java/android/bluetooth/BluetoothGattServerCallback.java index b0ddc26..1dd06f2 100644 --- a/core/java/android/bluetooth/BluetoothGattServerCallback.java +++ b/core/java/android/bluetooth/BluetoothGattServerCallback.java @@ -145,18 +145,4 @@ public abstract class BluetoothGattServerCallback { */ public void onNotificationSent(BluetoothDevice device, int status) { } - - /** - * Callback indicating that a remote device connection congestestion status has changed. - * - * An application should refrain from sending additional data (notifications, indications - * etc.) to a remote device when a callback is received with the congested flag set - * to true. Once the congestion status is cleared up, the application will receive an - * additional callback with the congested flag set to false. - * - * @param device The remote device that triggered the congestion state change - * @param congested true, if the connection is currently congested - */ - public void onConnectionCongested(BluetoothDevice device, boolean congested) { - } } -- cgit v1.1