From b30f91e38c19f6728d836293446d4b9c76705e7f Mon Sep 17 00:00:00 2001 From: Matthew Xie Date: Wed, 29 May 2013 10:19:06 -0700 Subject: 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 --- core/java/android/bluetooth/BluetoothGattServer.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/java/android/bluetooth/BluetoothGattServer.java') diff --git a/core/java/android/bluetooth/BluetoothGattServer.java b/core/java/android/bluetooth/BluetoothGattServer.java index d7f150b31910..78d536bffa1a 100644 --- a/core/java/android/bluetooth/BluetoothGattServer.java +++ b/core/java/android/bluetooth/BluetoothGattServer.java @@ -289,6 +289,9 @@ public final class BluetoothGattServer implements BluetoothProfile { /** * Close this GATT server instance. + * + * Application should call this method as early as possible after it is done with + * this GATT server. */ public void close() { if (DBG) Log.d(TAG, "close()"); -- cgit v1.2.3