Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b79decb authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Matthew Xie
Browse files

Make BluetoothGattServer.close() public

This functino is needed for applications to un-register from the
Bluetooth stack.
bug 8591003

Change-Id: Id05f592245d1d90791d34c3617aadac67bc6502c
parent af0867bf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();
    }