Merge "Move createSocketChannel into IBluetoothSocketManager (3/3)"
This commit is contained in:
@@ -417,7 +417,7 @@ public final class BluetoothSocket implements Closeable {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
mPfd = bluetoothProxy.createSocketChannel(mType, mServiceName,
|
mPfd = bluetoothProxy.getSocketManager().createSocketChannel(mType, mServiceName,
|
||||||
mUuid, mPort, getSecurityFlags());
|
mUuid, mPort, getSecurityFlags());
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Log.e(TAG, Log.getStackTraceString(new Throwable()));
|
Log.e(TAG, Log.getStackTraceString(new Throwable()));
|
||||||
|
|||||||
Reference in New Issue
Block a user