diff options
author | John Reck <jreck@google.com> | 2014-04-30 14:19:56 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-04-30 14:19:56 -0700 |
commit | 52622668f91c69ec718b356d2e0f8555fc88435f (patch) | |
tree | 85853f422b9fca99135bc08c2c1d5bc2be47a5c6 /rs/java/android/renderscript/RenderScript.java | |
parent | 406c51b360cb224e2cb4773eabd04d05d29793f8 (diff) |
Use resize, not reserve
Reserve ensures the underlying buffer is the correct size, but
iterating across it is not necessarily valid. Use resize() instead
to ensure that the iterator access is valid
Change-Id: I35ff5f4416bb94cf4ce2c6acf72ffd17ab3e523a
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions