summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorYoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>2012-04-02 17:34:38 +0900
committerIrfan Sheriff <isheriff@google.com>2012-04-04 11:55:06 -0700
commitb5e00bda40398b8738192abfe9b745464a54865a (patch)
tree902d14d92834513311299a021e1b570910c32627 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parentc111d1caa8d4cc5d2139b5abd4d2db1f78560eff (diff)
Fix key handling
putListener() returns 0 when the argument is null. And The key value of listener registered first is always 0. For this reason, if the p2p functions are called continuously and first call is without listener and the second call is with listener, then the message against first call wrongly pick up the second call's listener because the key value is the same. In order to avoid this issue, we don't use 0 as the valid listener key. Change-Id: I0cc960b2ad37f17cf7f528d839b39aa272b83670 Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions