Split PackageInstaller app into installation and permissions management

The two components were mostly independant for a long time. Since
I1e80a3f5e63d02b3859ecf74af21ca4c61f96874 the installation flow does
not grant any permissions anymore and the last connection between these
parts was broken.

The new app "com.android.packageinstaller" in
frameworks/base/packages/PackageInstaller will only handle (side load)
package installtion and uninstallation.

The exisiting app will be renamed to "com.android.permissioncontroller"
and only handle permission granting and permission management.

This change set also updates the make files to install the two apps on
the appropriate devices.

Test: Installed + uninstalled packages
Change-Id: I37dda69218ea2a703a6379bb5bcbd3449b3360ad
This commit is contained in:
Philip P. Moltmann 2018-07-27 09:16:15 -07:00
parent 9b8bd57174
commit da2c3badf9
2 changed files with 2 additions and 1 deletions

View File

@ -201,7 +201,9 @@ PRODUCT_PACKAGES += \
ndc \
netd \
org.apache.http.legacy \
PackageInstaller \
perfetto \
PermissionController \
ping \
ping6 \
platform.xml \

View File

@ -55,7 +55,6 @@ PRODUCT_PACKAGES += \
libwebviewchromium_loader \
libwebviewchromium_plat_support \
make_f2fs \
PackageInstaller \
requestsync \
StatementService \
vndk_snapshot_package \