summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2020-05-13 22:43:56 +0800
committerAhan Wu <ahanwu@google.com>2020-06-03 10:57:00 +0800
commit34c8ecdf280d6209aa8163c1bc8f41a449302e39 (patch)
tree97401247ddfa9fe88e24d7c31e734daebb91cd6f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentff0af3d0c21b469aa06bc9bbf185244d4f0a22e8 (diff)
DO NOT MERGE Prevent ImageWallpaper from crashing due to wide gamut
ImageWallpaper may fail at either uploading texture or computing the histogram of the bitmap, we catch the unexpected exceptions to avoid crashing the whole process. In addition, we also take wide gamut into account while computing the histogram. Bug: 156087409 Test: Set 1.jpg of #34 in the bug as wallpaper. Test: The symptom should not happen. Change-Id: I931912ece0f7cdfcb388efc8e61799f0087c5199
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions