diff options
author | Ahan Wu <ahanwu@google.com> | 2020-06-03 04:21:45 +0800 |
---|---|---|
committer | Wu Ahan <ahanwu@google.com> | 2020-06-03 15:18:52 +0000 |
commit | a3bff94e184590351fd95f630e8b8313d1d2053b (patch) | |
tree | e9ed14641c06aeabf11ce251ddadb33d65b0977a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 6255311d39f0b6f7de19b4fa46a6daa0f3690789 (diff) |
DO NOT MERGE Prevent ImageWallpaper from keeping crashing
GLUtil.texImage2D may throw exception that indicates bad image format.
We should catch this exception, otherwise, systemui may keep crashing.
Bug: 156087409
Test: Set a 16-bit rgb image as wallpaper
Test: Systemui shouldn't keep crashing
Change-Id: I6c9715c049b7848ecd5559ab76612a98dcd4ee6f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions