summaryrefslogtreecommitdiffstats
path: root/core/java/android/bluetooth
diff options
context:
space:
mode:
authorAndre Eisenbach <andre@broadcom.com>2013-04-05 09:34:11 -0700
committerMatthew Xie <mattx@google.com>2013-04-10 19:13:10 -0700
commit3b64f38a167dd755977b01a339cb7724e05efbea (patch)
treea936399b21eb7464fc5dd104857f5c27d0c65c77 /core/java/android/bluetooth
parent790518a1a2f06030d19fdd896bd0f80dd03d94fc (diff)
downloadframeworks_base-3b64f38a167dd755977b01a339cb7724e05efbea.zip
frameworks_base-3b64f38a167dd755977b01a339cb7724e05efbea.tar.gz
frameworks_base-3b64f38a167dd755977b01a339cb7724e05efbea.tar.bz2
Make BluetoothGattServer.close() public
This functino is needed for applications to un-register from the Bluetooth stack. bug 8591003 Change-Id: Id05f592245d1d90791d34c3617aadac67bc6502c
Diffstat (limited to 'core/java/android/bluetooth')
-rw-r--r--core/java/android/bluetooth/BluetoothGattServer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/bluetooth/BluetoothGattServer.java b/core/java/android/bluetooth/BluetoothGattServer.java
index 644c619..d7f150b 100644
--- a/core/java/android/bluetooth/BluetoothGattServer.java
+++ b/core/java/android/bluetooth/BluetoothGattServer.java
@@ -288,9 +288,9 @@ public final class BluetoothGattServer implements BluetoothProfile {
}
/**
- * Close the connection to the gatt service.
+ * Close this GATT server instance.
*/
- /*package*/ void close() {
+ public void close() {
if (DBG) Log.d(TAG, "close()");
unregisterCallback();
}