summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2020-04-21 11:57:10 -0700
committerWinson <chiuwinson@google.com>2020-04-21 12:01:33 -0700
commitf8be8e51e1fa66674a2c0a593c2f629607e9235d (patch)
tree2d06c3f77e9b3b3a688fceb0617687e2b3ca7aa0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent764c0be3731c0d6af546dd2c71dc79f0eea2a58c (diff)
Calculate oldPaths for out of date LoadedApks
This was originally omitted because the only known case this branch was hit was after a package update, which would inherently change the code paths for the package. Thus, spending the time to calculate these oldPaths was worthless because they would never be applicable. Seemingly this case where the paths are not changed has been found, causing duplicate paths to be added to the same ClassLoader. This warrants further investigation to determine why, but for now, this should be safe to commit to fix the issue. Bug: 149410951 Test: manual used steps at b/149410951#comment57, verified that paths were not added multiple times; device functions as normal otherwise Change-Id: I632994dd19cae2b0101d7386826c8f8c7251051a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions