summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2019-09-26 19:00:26 +0800
committerWu Ahan <ahanwu@google.com>2019-10-02 03:13:50 +0000
commit160c28c36d728e932ceac5babc512cf2aa59c857 (patch)
tree42e30c0188f65f2645cc3958eede40a9304f1351 /rs/java/android/renderscript/ProgramStore.java
parentf8a2d069b41c0f075073ee828a694e55490a3493 (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: Ifaf2085a0bc94448e49fa2f30066f47310586236
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions