summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorSamuel Tan <samueltan@google.com>2015-12-11 16:50:58 -0800
committerSamuel Tan <samueltan@google.com>2015-12-15 15:22:52 -0800
commitceafe5ed8a9968752c9454ae67428caf8c6719e6 (patch)
treebd777e30d3da4cf45fff49f20a1d90318c77e85b /rs/java/android/renderscript/RenderScript.java
parent0bae77b8f0cdc6272abf56a831c8ebfa0e9ed6a0 (diff)
Fix PersistableBundle handling in Parcel.writeValue
Previously, in Parcel.writeValue, PersistableBundle objects would be handled as Parcelable types, since we check for the Parcelable type before the PersistableBundle type (and PersistableBundle implements the Parcelable interface). Fix this by moving the PersistableBundle type "if" condition above the Parcealble type "if" condition. Also, add a comment that explicitly states this nuance, in order to prevent future regressions. BUG: 25815410 Change-Id: Ia86aa5fc39423422342df0609a0d37e7f38d7ddd
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions