Move createSocketChannel into IBluetoothSocketManager (3/3)

Bug: 68359837
Test: none
Change-Id: I52b03ff3d637bf661c70279b7ca18b105157f7a2
This commit is contained in:
Jakub Pawlowski
2017-11-06 12:16:25 -08:00
parent b2bde067c2
commit fe7e885180

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()));