summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-01-17 13:50:20 -0700
committerJeff Sharkey <jsharkey@android.com>2017-01-17 14:22:07 -0700
commite628b7d446484bbcf467536769a301760eeb097b (patch)
treee8fa6ea7eb4be1431a7f190fd09e3da241fa0c33 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent68d03b23bb6e177ee988fa81099bd87fb12580e7 (diff)
Add Binder support for Parcelable exceptions.
If an Exception thrown by a Binder call implements the Parcelable interface, then parcel it and rethrow back at the caller. There is strict requirement that these Parcelable exceptions must be defined by the system (as determined by checking the ClassLoader). We prefix the Parcelable contents with a length so that native code can skip over the blobs. Define a new ParcelableException class that can be used to transport exceptions that cannot be modified to add Parcelable behavior, and switch ExceptionUtils to use this new class for sending IOExceptions. Test: builds, boots, wrapped exceptions work Bug: 33749182 Change-Id: I1352ea1566ddf01120d9d0e819ba6f70fc407e11
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions