am f6c78e59: Merge "Make sure BluetoothSocket#connect throws on error."

* commit 'f6c78e590cf44defea2bcdea593485e958988962':
  Make sure BluetoothSocket#connect throws on error.
This commit is contained in:
Sharvil Nanavati
2014-05-07 06:52:41 +00:00
committed by Android Git Automerger

View File

@@ -325,6 +325,7 @@ public final class BluetoothSocket implements Closeable {
}
} catch (RemoteException e) {
Log.e(TAG, Log.getStackTraceString(new Throwable()));
throw new IOException("unable to send RPC: " + e.getMessage());
}
}