summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothGattServer.java
diff options
context:
space:
mode:
authorPrerepa Viswanadham <dham@google.com>2014-09-19 10:57:54 -0700
committerAndre Eisenbach <eisenbach@google.com>2014-09-24 22:15:08 +0000
commit645b737cbb14933c4ab3da4017559362225c7a93 (patch)
tree6dcad795634ac0215dc2e57421f89aba141c1e59 /framework/java/android/bluetooth/BluetoothGattServer.java
parent8aa50981ed69f1a3ed22582614b071a6042c30cd (diff)
Remove remanents of onConnectionCongested in framwork
Bug:17289507 Change-Id: Ia28c39822141edd0e4dc3f623b8c2f280fc5f943
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothGattServer.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothGattServer.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/framework/java/android/bluetooth/BluetoothGattServer.java b/framework/java/android/bluetooth/BluetoothGattServer.java
index a7f117b44c..e94a8cea21 100644
--- a/framework/java/android/bluetooth/BluetoothGattServer.java
+++ b/framework/java/android/bluetooth/BluetoothGattServer.java
@@ -48,7 +48,6 @@ public final class BluetoothGattServer implements BluetoothProfile {
private BluetoothAdapter mAdapter;
private IBluetoothGatt mService;
private BluetoothGattServerCallback mCallback;
- private Boolean mIsCongested = false;
private Object mServerIfLock = new Object();
private int mServerIf;
@@ -285,24 +284,6 @@ public final class BluetoothGattServer implements BluetoothProfile {
Log.w(TAG, "Unhandled exception: " + ex);
}
}
-
- /**
- * Callback indicating the remote device connection is congested.
- * @hide
- */
- public void onConnectionCongested(String address, boolean congested) {
- if (DBG) Log.d(TAG, "onConnectionCongested() - Device=" + address
- + " congested=" + congested);
-
- BluetoothDevice device = mAdapter.getRemoteDevice(address);
- if (device == null) return;
-
- try {
- mIsCongested = congested;
- } catch (Exception ex) {
- Log.w(TAG, "Unhandled exception in callback", ex);
- }
- }
};
/**