diff options
author | Prerepa Viswanadham <dham@google.com> | 2014-09-19 10:57:54 -0700 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2014-09-24 22:15:08 +0000 |
commit | f0b56a5a7f9cff4b4ed120188be65a7bc08e2256 (patch) | |
tree | 07dd0efe2e718736bf34a272a860d9655affcdcc /core/java/android/bluetooth/BluetoothGatt.java | |
parent | a8f4252d2a1db33b182d85a8f49dcace3062a1ff (diff) | |
download | frameworks_base-f0b56a5a7f9cff4b4ed120188be65a7bc08e2256.zip frameworks_base-f0b56a5a7f9cff4b4ed120188be65a7bc08e2256.tar.gz frameworks_base-f0b56a5a7f9cff4b4ed120188be65a7bc08e2256.tar.bz2 |
Remove remanents of onConnectionCongested in framwork
Bug:17289507
Change-Id: Ia28c39822141edd0e4dc3f623b8c2f280fc5f943
Diffstat (limited to 'core/java/android/bluetooth/BluetoothGatt.java')
-rw-r--r-- | core/java/android/bluetooth/BluetoothGatt.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/core/java/android/bluetooth/BluetoothGatt.java b/core/java/android/bluetooth/BluetoothGatt.java index 2276229..c203a8e 100644 --- a/core/java/android/bluetooth/BluetoothGatt.java +++ b/core/java/android/bluetooth/BluetoothGatt.java @@ -51,7 +51,6 @@ public final class BluetoothGatt implements BluetoothProfile { private int mConnState; private final Object mStateLock = new Object(); private Boolean mDeviceBusy = false; - private Boolean mIsCongested = false; private int mTransport; private static final int CONN_STATE_IDLE = 0; @@ -607,21 +606,6 @@ public final class BluetoothGatt implements BluetoothProfile { Log.w(TAG, "Unhandled exception in callback", 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); - if (!address.equals(mDevice.getAddress())) return; - try { - mIsCongested = congested; - } catch (Exception ex) { - Log.w(TAG, "Unhandled exception in callback", ex); - } - } }; /*package*/ BluetoothGatt(Context context, IBluetoothGatt iGatt, BluetoothDevice device, |