diff options
author | Calin Juravle <calin@google.com> | 2017-08-03 19:48:37 -0700 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2017-08-08 12:17:48 -0700 |
commit | 3b74c41776da66562a68b12a0fed8d20b6952868 (patch) | |
tree | 09471765f5441fbf8abf062d4d2d95990d5eb4cf /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 39a9832df127bad58581f95b0476be93a2c70d4a (diff) |
Use PackageUseInfo in DexOptimizer
Pass the PackageUseInfo directly to DexOptimizer and use it to detect if a
package is used by other apps. Move the usage checks closer to dexopt so
that they can be easily adapted when we add usage info for each of the
app's code paths separately.
This is a refactoring CLs to reduce the size and complexity of the
upcoming CLs which record the usage info for each of the application
splits.
Bug: 64124380
Test: runtest -x
services/tests/servicestests/src/com/android/server/pm/dex/*
Change-Id: I8031590cdaff81ab1792ca19baddb6cb36dc021d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions