diff options
author | Lucas Dupin <dupin@google.com> | 2018-08-21 09:20:48 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2018-08-21 09:20:48 -0700 |
commit | d8e124422549d6b0b2bcb3407cc67e230192edc5 (patch) | |
tree | 7ff27d3090bb54fdb2df08d6194e1bbcc24bcab3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | dee54a448ba7068cea61a3259d91190b56ec1c55 (diff) |
Do not allow wallpapers that are too large
DisplayListCanvas, that draws Bitmaps on the Android framework,
has a bitmap size limit. Let's respect the limit to guarantee
that SystemUI won't crashloop when a bitmap is over 100MB
Test: manual, setting wallpaper
Change-Id: Iff91e73722a912efe095f80e263e160cc2456a11
Fixes: 111330638
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions