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

Commit a354661c authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Move createSocketChannel into IBluetoothSocketManager (1/3)

Bug: 68359837
Test: none
Change-Id: Id01e194a265633f26b76fcc542223f7caacfc255
parent f37576bc
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -100,7 +100,6 @@ interface IBluetooth

    // For Socket
    ParcelFileDescriptor connectSocket(in BluetoothDevice device, int type, in ParcelUuid uuid, int port, int flag);
    ParcelFileDescriptor createSocketChannel(int type, in String serviceName, in ParcelUuid uuid, int port, int flag);
    IBluetoothSocketManager getSocketManager();

    boolean factoryReset();
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,9 @@

package android.bluetooth;

import android.os.ParcelUuid;
import android.os.ParcelFileDescriptor;

/**
 * API for Bluetooth Sockets service.
 *
@@ -23,4 +26,5 @@ package android.bluetooth;
 */
interface IBluetoothSocketManager
{
    @nullable ParcelFileDescriptor createSocketChannel(int type, in @nullable String serviceName, in @nullable ParcelUuid uuid, int port, int flag);
}