summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2018-08-21 09:20:48 -0700
committerLucas Dupin <dupin@google.com>2018-08-21 09:20:48 -0700
commitd8e124422549d6b0b2bcb3407cc67e230192edc5 (patch)
tree7ff27d3090bb54fdb2df08d6194e1bbcc24bcab3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdee54a448ba7068cea61a3259d91190b56ec1c55 (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