diff options
author | Andre Eisenbach <andre@broadcom.com> | 2013-04-05 09:34:11 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2013-04-10 19:13:10 -0700 |
commit | 6b79decb475fdfc95e7ea193016d015bb0e94bd5 (patch) | |
tree | 8b412594a473d8db7e31d8b5b6f553fe2281fdb9 /framework/java/android/bluetooth/BluetoothGattServer.java | |
parent | af0867bf40dea233e3d3bb072d0b4603626c031c (diff) |
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 'framework/java/android/bluetooth/BluetoothGattServer.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothGattServer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/java/android/bluetooth/BluetoothGattServer.java b/framework/java/android/bluetooth/BluetoothGattServer.java index 644c619b9a..d7f150b319 100644 --- a/framework/java/android/bluetooth/BluetoothGattServer.java +++ b/framework/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(); } |