Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dc9cecee authored by JW Wang's avatar JW Wang
Browse files

Extract cached package info from ApexManager

A step toward storing all package information including both APK and
APEX in PMS which be the source of truth for all queries about package
info.

* ApexPackageInfo stores PackageInfo for parsed/scanned APEX which
  makes migration easier.
* Now ApexManager stores only APEX specific data like APEX services or
  APK-in-APEX.
* ApexManager#getPackageInfo calls are replaced by ApexPackageInfo

Bug: 225756739
Test: atest com.android.server.pm.ApexManagerTest \
            android.content.pm.cts.PackageManagerTest \
            CtsPackageInstallTestCases \
            CtsStagedInstallHostTestCases \
            StagedInstallInternalTest \
            CtsInstallHostTestCases \
            DeletePackageHelperTest \
            DistractingPackageHelperTest \
            PackageFreezerTest \
            PackageManagerServiceBootTest \
            PackageManagerServiceHibernationTests
Change-Id: I875c2096029fc03b03ac3c65a968bff154676989
parent 9a52759e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment