summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2020-03-29 17:14:59 -0700
committerCalin Juravle <calin@google.com>2020-04-01 12:21:28 -0700
commit3f2b728bba995f99b3518713eb4ba3c53644648b (patch)
tree842c255d395ab62a976f49d7c9f2a7a87da06c1f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent33fc19ce557ffbb7e451c2f89749c1842c88dc9c (diff)
Allow PackageDexUsage to record code paths not used by others
The restriction was just an optimization to make the processing simpler and clearer. All packages are expected to use their code paths and recording this info was redundant and added noise. However, in prepartion to record system server code paths we have to record everything that belongs to a package, even if it's not used by others. This CL makes PackageDexUsage agnostic of the isUsedByOther flags: it will record everything that is given to it. Note that this applies only to PackageDexUsage. DexManager may still decide to skip the recording (which it does for non system server apps) Test: atest PackageDexUsageTests DexManagerTests Bug: 148774920 Change-Id: Icdb9ff45330a8fb15d80cb07495723b473228dda
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions