summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2019-09-26 18:29:59 +0800
committerAhan Wu <ahanwu@google.com>2019-10-02 11:02:03 +0800
commitf1e1f4f04d0165ed065637a4ba556583a7c79ef0 (patch)
tree197a1c705ad2583eaefe0a05a18dc3e6d197b0cf /rs/java/android/renderscript/ProgramStore.java
parent604d91d71353640c585fc84c683f544dd2997815 (diff)
DO NOT MERGE Validate wallpaper dimension while generating crop
If dimensions of cropped wallpaper image exceed max texture size that GPU can support, it will cause ImageWallpaper keep crashing because hwui crashes by invalid operation (0x502). Bug: 120847476. Test: Write a custom app to set a 8000x800 bitmap as wallpaper. Test: The cropped file will be 29600x2960 and make sysui keep crashing. Test: After applyed this cl, wallpaper will use fallback. Test: Sysui will not keep crashing any more. Change-Id: I8ed5931298c652a2230858cf62df3f6fcd345c5a
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions