This functino is needed for applications to un-register from the
Bluetooth stack.
bug
8591003
Change-Id: Id05f592245d1d90791d34c3617aadac67bc6502c
method public boolean addService(android.bluetooth.BluetoothGattService);
method public void cancelConnection(android.bluetooth.BluetoothDevice);
method public void clearServices();
+ method public void close();
method public boolean connect(android.bluetooth.BluetoothDevice, boolean);
method public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices();
method public int getConnectionState(android.bluetooth.BluetoothDevice);
}
/**
- * 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();
}