diff options
author | Ahan Wu <ahanwu@google.com> | 2020-05-08 23:26:36 +0800 |
---|---|---|
committer | Ahan Wu <ahanwu@google.com> | 2020-05-08 23:45:40 +0800 |
commit | 20d4a69a088118ef2f0cf08d4f34e222fa5840f8 (patch) | |
tree | 56ce2abe8a3b011a7ec826708d78f0d5ab1e52bf /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 61ac9f9478f2a079d60cfa4aaf0ec7de7cbf70bf (diff) |
Catch possible exception while uploading texture
The GLUtils#texImage2D may throw IllegalArgumentException, this might
cause SystemUI keeps crashing, let's catch it and print error log.
Bug: 156087409
Test: Manually
Change-Id: I03e1b2bde1db2d10f4bb61df335147b787c1957b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions