diff options
author | Romain Guy <romainguy@google.com> | 2013-02-19 14:12:55 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2013-02-19 14:12:55 -0800 |
commit | d17043dcb49d4f060349a8bd58abcddcf3bac9a2 (patch) | |
tree | 94f79c9f26a5f3120298e5327c40a16eefd88b62 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 4bac6c1a54116ef212fa6cbe381e0a30c4e242e5 (diff) |
Show Dalvik stack trace if an exception happens at draw time
External bug: http://code.google.com/p/android/issues/detail?id=49379
Drawing was previously wrapped in a try/finally block which was silently
swallowing user code exceptions. For instance, if a View throws a
NullPointerException in its onDraw() method, the previous implementation
would silently crash in native code.
This change extracts the section that builds display lists into a new
method that does not contain any try/finally block.
In addition, this change logs any exception thrown while drawing
display lists.
Change-Id: I0abffa4c9183d41aac8b0f8442813e56b957f08f
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions