diff options
author | Matthew Xie <mattx@google.com> | 2013-05-29 10:19:06 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2013-05-30 11:42:26 -0700 |
commit | b30f91e38c19f6728d836293446d4b9c76705e7f (patch) | |
tree | a714ee413d9c440c0fb46b104d680d9da6d82537 /core/java/android/bluetooth/BluetoothGatt.java | |
parent | 27e453617a2c179580a55d6cbe0619fa95adf693 (diff) | |
download | frameworks_base-b30f91e38c19f6728d836293446d4b9c76705e7f.zip frameworks_base-b30f91e38c19f6728d836293446d4b9c76705e7f.tar.gz frameworks_base-b30f91e38c19f6728d836293446d4b9c76705e7f.tar.bz2 |
Update javadoc to give app write better guidence
Update javadoc of close methods of GATT cliet and server
Update javadoc of BluetoothAdapter
bug 8963528
Change-Id: I45ec618fd495225ed11a6171f33bfdc218397d4c
Diffstat (limited to 'core/java/android/bluetooth/BluetoothGatt.java')
-rw-r--r-- | core/java/android/bluetooth/BluetoothGatt.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/BluetoothGatt.java b/core/java/android/bluetooth/BluetoothGatt.java index bffe64b..69dc4e2 100644 --- a/core/java/android/bluetooth/BluetoothGatt.java +++ b/core/java/android/bluetooth/BluetoothGatt.java @@ -565,6 +565,9 @@ public final class BluetoothGatt implements BluetoothProfile { /** * Close this Bluetooth GATT client. + * + * Application should call this method as early as possible after it is done with + * this GATT client. */ public void close() { if (DBG) Log.d(TAG, "close()"); |