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 3b74c417) Bug: 64124380 Test: runtest -x services/tests/servicestests/src/com/android/server/pm/dex/* Merged-In: I8031590cdaff81ab1792ca19baddb6cb36dc021d Change-Id: I8031590cdaff81ab1792ca19baddb6cb36dc021d
Loading
Please register or sign in to comment