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
committerZhihai Xu <zhihaixu@google.com>2013-12-17 11:39:20 -0800
commit610770d7129a33fdca5c23939f9ee0a80d0322f9 (patch)
tree0a910d79eaf815c971c3326eec7d43f9452fa63f /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent7acec30ac7d5b2fba11757a2d2e3ad351be23441 (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