Loading api/current.txt +1 −0 Original line number Original line Diff line number Diff line Loading @@ -5018,6 +5018,7 @@ package android.bluetooth { method public boolean addService(android.bluetooth.BluetoothGattService); method public boolean addService(android.bluetooth.BluetoothGattService); method public void cancelConnection(android.bluetooth.BluetoothDevice); method public void cancelConnection(android.bluetooth.BluetoothDevice); method public void clearServices(); method public void clearServices(); method public void close(); method public boolean connect(android.bluetooth.BluetoothDevice, boolean); method public boolean connect(android.bluetooth.BluetoothDevice, boolean); method public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices(); method public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices(); method public int getConnectionState(android.bluetooth.BluetoothDevice); method public int getConnectionState(android.bluetooth.BluetoothDevice); core/java/android/bluetooth/BluetoothGattServer.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -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()"); if (DBG) Log.d(TAG, "close()"); unregisterCallback(); unregisterCallback(); } } Loading Loading
api/current.txt +1 −0 Original line number Original line Diff line number Diff line Loading @@ -5018,6 +5018,7 @@ package android.bluetooth { method public boolean addService(android.bluetooth.BluetoothGattService); method public boolean addService(android.bluetooth.BluetoothGattService); method public void cancelConnection(android.bluetooth.BluetoothDevice); method public void cancelConnection(android.bluetooth.BluetoothDevice); method public void clearServices(); method public void clearServices(); method public void close(); method public boolean connect(android.bluetooth.BluetoothDevice, boolean); method public boolean connect(android.bluetooth.BluetoothDevice, boolean); method public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices(); method public java.util.List<android.bluetooth.BluetoothDevice> getConnectedDevices(); method public int getConnectionState(android.bluetooth.BluetoothDevice); method public int getConnectionState(android.bluetooth.BluetoothDevice);
core/java/android/bluetooth/BluetoothGattServer.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -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()"); if (DBG) Log.d(TAG, "close()"); unregisterCallback(); unregisterCallback(); } } Loading