summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramRaster.java
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2017-09-12 13:39:38 -0700
committerTyler Gunn <tgunn@google.com>2017-09-12 19:13:30 -0700
commitc4fd93e43b1210164cdaa5a9d895f9666e108a66 (patch)
tree38ad81f4d63ba232feaea2415b0793c05a44e9ce /rs/java/android/renderscript/ProgramRaster.java
parentd217a0c5a7603aa35d944caf428e01a077c781cc (diff)
Fix ImsCallProfile parceling and add protection for invalid parcelables.
Two things: 1. The writeToParcel and readFromParcel in the ImsCallProfile never worked; they were not parceling the Bundle properly. 2. Ensuring on writeToParcel that invalid Bundle contents are removed and not sent across a Binder interface. The existing Bundle.filterValues method accomplishes this by ensuring only primitive types and android.* namespace parcelables are included in the Bundle. We use this to ensure that when the ImsCallProfile instances cross the binder call boundary, package-local Parcelables don't cause the Bundle to be invalidated when unmarshaled in a place where the pacakge-local parcelable is not available. Test: Manual, also wrote new unit tests Bug: 65562929 Change-Id: Iea982d14a053414b9a4daba998c021c61902119d
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions