diff options
author | Calin Juravle <calin@google.com> | 2017-08-03 19:48:37 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-11-01 13:07:35 -0700 |
commit | fad6dc10b0e723f81a264ce608a47f2b7c279b2a (patch) | |
tree | c5be92bef1c87a6a0062969465398f286acecb2d /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a18e992770149989311c23b5222791be50b49a5d (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.
(cherry picked from commit 3b74c41776da66562a68b12a0fed8d20b6952868)
Bug: 64124380
Test: runtest -x
services/tests/servicestests/src/com/android/server/pm/dex/*
Merged-In: I8031590cdaff81ab1792ca19baddb6cb36dc021d
Change-Id: I8031590cdaff81ab1792ca19baddb6cb36dc021d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions