am f6c78e59: Merge "Make sure BluetoothSocket#connect throws on error."
* commit 'f6c78e590cf44defea2bcdea593485e958988962': Make sure BluetoothSocket#connect throws on error.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user