diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-04-10 20:36:07 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-04-10 20:36:07 -0700 |
commit | 3bdcdd8531781569d501e7023c22e25e2bae0dd1 (patch) | |
tree | 134407d32b8c13a31e7b847ea884f4e57bcb5aa7 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 9f25b7fdf216c9ef0bd2322cd223eeaf0d60f77f (diff) |
Be more careful about exceptions in input callbacks.
consumeEvents() may be called reentrantly so we need to be
careful when handling exceptions. When called directly
through JNI, the exception should be allowed to bubble up
to the caller. When called from a Looper callback, the
exception should be recorded on the MessageQueue and bubbled
when the call to nativePollOnce() returns.
Bug: 6312938
Change-Id: Ief5e315802f586aa85af7eef1bd6e9bea4ce24ab
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions