Merge "Detect system_ext provenance for APKs-in-APEX"
This commit is contained in:
@@ -21918,7 +21918,7 @@ public class PackageManagerService extends IPackageManager.Stub
|
|||||||
for (int i = 0, size = SYSTEM_PARTITIONS.size(); i < size; i++) {
|
for (int i = 0, size = SYSTEM_PARTITIONS.size(); i < size; i++) {
|
||||||
ScanPartition sp = SYSTEM_PARTITIONS.get(i);
|
ScanPartition sp = SYSTEM_PARTITIONS.get(i);
|
||||||
if (apexInfo.preInstalledApexPath.getAbsolutePath().startsWith(
|
if (apexInfo.preInstalledApexPath.getAbsolutePath().startsWith(
|
||||||
sp.getFolder().getAbsolutePath())) {
|
sp.getFolder().getAbsolutePath() + File.separator)) {
|
||||||
return new ScanPartition(apexInfo.apexDirectory, sp, SCAN_AS_APK_IN_APEX);
|
return new ScanPartition(apexInfo.apexDirectory, sp, SCAN_AS_APK_IN_APEX);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user