summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorDave Sparks <davidsparks@android.com>2009-10-15 10:02:22 -0700
committerDave Sparks <davidsparks@android.com>2009-10-15 15:18:08 -0700
commitdd158c9a9059ae01de0f1f914617d6e21e7c54c3 (patch)
treecbf5bb06a8cccb39bcefaf1c189c460e21ff14a1 /graphics/java/android/renderscript/ProgramStore.java
parent9e58e6427c8e5fefb65432ea4b56c6cb31e80bbd (diff)
Don't callback on NULL client. Bug 2180510.
We weren't checking to see if there was a valid camera client when calling the notify callback function. Now we grab a strong pointer before the callback to guarantee that the client is not destroyed before we complete the callback. This change also fixes other places in the code where we weren't holding a local strong pointer.
Diffstat (limited to 'graphics/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions