summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2017-08-01 16:32:49 -0700
committerChristopher Tate <ctate@google.com>2017-08-03 11:10:41 -0700
commit9f22443b4e3ac1ca1763a25a186177809ec1c3cb (patch)
treee9cf2e5126e64bcdfa7a2e0ba443479c9cf5e7c9 /tools/aapt2/java/JavaClassGenerator.cpp
parentdd5afab0d457c1f64fa34215cacb30279456be9f (diff)
Use normal API for legacy wallpaper restore
No longer do we play crazy rename-into-place tricks! Just take the restored image and treat it as an ordinary new system wallpaper, and let the system machinery do all its proper work. While we're at it, we get rid of the now-spurious shenanigans about backing up the wallpaper under the 'android' package, an overdue and welcome bit of thinning. In addition, we now fully migrate a legacy wallpaper image to have both a source and a display crop in place. We were previously not generating the equivalent source image, which made N+ backups unable to store the image properly. Fix 64269208 Fix 62809439 Test: manual (set wallpaper under M, backup, flash to ToT, force restore) Change-Id: If9b26b777f0fda95cf37c3c790a3fa4e82ff0340
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions