am f8a67f4f: Merge "Make BluetoothGattServer.close() public" into jb-mr2-dev

* commit 'f8a67f4f5dd4c5499a6e7148331f0286e31203ec':
  Make BluetoothGattServer.close() public
This commit is contained in:
Matthew Xie
2013-04-10 23:09:41 -07:00
committed by Android Git Automerger
2 changed files with 3 additions and 2 deletions

View File

@@ -5018,6 +5018,7 @@ package android.bluetooth {
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);

View File

@@ -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();
}