Pass the right loading package when registering dex modules
We computed the right value, but did not update the registration arguments. Test: manual, DexManagerTests Bug: 148774920 Change-Id: I98cef1d0a9b5431c181db3a9181a5a0958fe9b6a
This commit is contained in:
@@ -711,7 +711,7 @@ public class DexManager {
|
||||
for (String isa : getAppDexInstructionSets(info.primaryCpuAbi, info.secondaryCpuAbi)) {
|
||||
boolean newUpdate = mPackageDexUsage.record(searchResult.mOwningPackageName,
|
||||
dexPath, userId, isa, /*primaryOrSplit*/ false,
|
||||
searchResult.mOwningPackageName,
|
||||
loadingPackage,
|
||||
PackageDexUsage.VARIABLE_CLASS_LOADER_CONTEXT);
|
||||
update |= newUpdate;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user