Merge "Move createSocketChannel into IBluetoothSocketManager (3/3)"

This commit is contained in:
Treehugger Robot
2017-11-10 08:11:26 +00:00
committed by Gerrit Code Review

View File

@@ -417,7 +417,7 @@ public final class BluetoothSocket implements Closeable {
return -1;
}
try {
mPfd = bluetoothProxy.createSocketChannel(mType, mServiceName,
mPfd = bluetoothProxy.getSocketManager().createSocketChannel(mType, mServiceName,
mUuid, mPort, getSecurityFlags());
} catch (RemoteException e) {
Log.e(TAG, Log.getStackTraceString(new Throwable()));