summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorZhihai Xu <zhihaixu@google.com>2013-12-17 11:39:20 -0800
committerMatthew Xie <mattx@google.com>2014-01-13 17:52:13 -0800
commit82e95573c7348e3c5f7946b8c8d727f14047ca12 (patch)
tree47f5d68d7a060cad8a99efe90e49a9dbf85a0fc8 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent595ddb89118a33743a05d20bc6c70f8b7a10406d (diff)
NPE in BluetoothSocket.write()
If calling connect succeed, we should not see this NPE. An IOException may happen after call BluetoothSocket.connect. If you still call write after the IOException, you will get this NPE. add NPE protection for possible wrong calling sequence from application, To make bluetoothSocket more error-tolerant. bug:12104154 Change-Id: I7fa4e847b500ca9b9d2a43df432f31a1bb016c0a
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions