summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2019-03-12 20:59:13 +0800
committerAhan Wu <ahanwu@google.com>2019-03-20 10:32:17 +0800
commit48ebbd77997566ffec5e296b4d9398c849472e48 (patch)
tree05395fd500a474caf98e17b33945f5b82745cb21 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdbd26f3fb7324055d339969bf96de6c87da3ba9b (diff)
Release the bitmap reference and textures when user changes the wallpaper.
We don't need the bitmap after we uploads it to texture so we nullify the reference to get it can be gced. We also need to release the graphic memory when user changes the wallpaper or the graphic memory will increase dramatically. Bug: 128897294 Test: Change wallpaper, observes android profiler Change-Id: I207d67741e6a7643a13ba97fccdab355dd09e30c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions