summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2020-03-05 18:58:09 -0800
committerWinson Chiu <chiuwinson@google.com>2020-03-06 05:35:33 +0000
commit10bb870d42d7bacf7670891bc4c0a501e6c88062 (patch)
treee9970d6cb4b484f6d91f65a8ea7952892dc6cab6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta132d3b5e2d23771dfdcbcf107692aa8131ef0e5 (diff)
Copy over PkgState in PackageSetting updateFrom
Previously, the two PackageSetting objects used during scan/install would reference the same PackageParser.Package object, so it didn't matter which one was accessed to set stateful fields. It would implicitly be reflected in the other PackageSetting through the shared object. With these fields now moved out of the shared object and into the PackageSetting itself, these have to be updated once the 2 settings are reconciled. Bug: 150812845 Bug: 150596321 Test: manual update a system app, reboot, dumpsys package and verify that flags field contains UPDATED_SYSTEM_APP Test: manual run dexopt for updated system app after install and after a reboot; verify paths are correct Change-Id: Iaf5dfa7fb480eef760f6a44e01f5ee8317055709
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions