summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2019-04-09 18:00:08 -0700
committerWinson <chiuwinson@google.com>2019-04-11 11:36:04 -0700
commit71cf350f8e87028f84b0c54627c848a0ba9bb1a4 (patch)
treed5e358743daaf4933b9be96577635da2b74cab22 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente8c5311cb0824a120bcb6417bfdf3e4ce884f05c (diff)
Update LoadedApk instead of re-creating on outdated cache
Recreating the entire object drops the mApplication inside, so multiple Application instances are unexpectedly created. Instead, call into updateApplicationInfo to replace the Resources object manually. Bug: 129890769 Test: device boots, applies overlay paths correctly; was unable to reproduce a case where the overlays are missing from the system itself, other Resources/caching changes may have decreased the occurrence rate Change-Id: Ib5e7d6ca79ac5b37d5691ce327e3b66cc4672335
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions