diff options
| author | Jakub Pawlowski <jpawlowski@google.com> | 2017-11-06 12:17:30 -0800 |
|---|---|---|
| committer | Jakub Pawlowski <jpawlowski@google.com> | 2017-11-10 21:42:26 +0000 |
| commit | 0430720a23854abe41f195dfce2a2c59a28877a0 (patch) | |
| tree | 9caac94b0e64b96865c8c371c7ea13ada42af187 /core/java/android/bluetooth/BluetoothSocket.java | |
| parent | f6b2b77e40d0056f131ac4246599dff45e70bf12 (diff) | |
Move connectSocket into IBluetoothSocketManager (3/3)
Bug: 68359837
Test: none
Merged-In: I1161a5fe74b034fba0112fd3a78bdf1fbace6e12
Change-Id: I1161a5fe74b034fba0112fd3a78bdf1fbace6e12
Diffstat (limited to 'core/java/android/bluetooth/BluetoothSocket.java')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothSocket.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/bluetooth/BluetoothSocket.java b/core/java/android/bluetooth/BluetoothSocket.java index 23956e14d9e5..0569913435a8 100644 --- a/core/java/android/bluetooth/BluetoothSocket.java +++ b/core/java/android/bluetooth/BluetoothSocket.java @@ -375,7 +375,7 @@ public final class BluetoothSocket implements Closeable { IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(null); if (bluetoothProxy == null) throw new IOException("Bluetooth is off"); - mPfd = bluetoothProxy.connectSocket(mDevice, mType, + mPfd = bluetoothProxy.getSocketManager().connectSocket(mDevice, mType, mUuid, mPort, getSecurityFlags()); synchronized (this) { if (DBG) Log.d(TAG, "connect(), SocketState: " + mSocketState + ", mPfd: " + mPfd); |
