summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorHall Liu <hallliu@google.com>2019-11-08 18:26:47 -0800
committerHall Liu <hallliu@google.com>2019-11-08 18:31:24 -0800
commitfc2be9c0d2beddfbff420d64c0af3d287327a2ee (patch)
tree87c061f0efc41b7458383a6042179d4ab9fbddab /rs/java/android/renderscript/RenderScript.java
parent9eba10e17fd00dba92bc145ee4ea12396cd0ff5e (diff)
Fix double-add of calls
In the api compatibility logic for the new call states, we might end up adding a call by accident in internalUpdateCall if a call was updated in the NEW state, and it'd then get added again when internalAddCall gets called. To fix this, restrict the call states that would result in an add from internalUpdateCall, and also don't add the call again in internalAddCall if it's already present. Fixes: 143049799 Test: CTS Change-Id: I2a6b646a5200fedf9e02029a7120595210a24c76
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions