summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2020-05-13 22:43:56 +0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-06-10 00:36:46 +0000
commit4d467f1c7d7d355d0ac71a12ec8c2df07f756046 (patch)
treebc07da28e6103653a6cb66c178599c7b564ba943 /tools/aapt2/java/JavaClassGenerator.cpp
parentc90b0373c99701540456eaef6cb79f99770f8240 (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 (cherry picked from commit 34c8ecdf280d6209aa8163c1bc8f41a449302e39)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions