summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorPaul Jensen <pauljensen@google.com>2016-03-25 11:39:58 -0400
committerPaul Jensen <pauljensen@google.com>2016-03-29 12:03:34 -0400
commit1c71cb3e728c5f7b3bc76daf581e108ed5c0fa3c (patch)
tree14ec0c953442011b408d170a2f1f89842da2d2aa /rs/java/android/renderscript/RenderScript.java
parenta2b88f633980422b672a225c6aa96019547f5676 (diff)
Fix potential ApfFilter bugs by careful ByteBuffer use
Avoid adjusting ApfFilter.Ra.mPacket's postion() and limit() in matches(). This avoids potential bugs in other parts of the code that previously relied on limit() being reset. Also for good measure change some limit() calls to capacity() as it's more final. Change-Id: I466e87ce6838f68654b24f2c9543a6cd547d3f87
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions