Commit Graph

5 Commits

Author SHA1 Message Date
Philip P. Moltmann
d26ef690a4 Prepare PackageInstaller to be signed with google cert
I am not sure if .bp files already allow creating google-signed variations, hence go back to .mk file.

Test: Built + Booted on taimen-eng
Change-Id: I4b413d18eec07a1f84050693a7b8a97b51fa3270
2018-11-19 16:35:58 +00:00
Philip P. Moltmann
ceb15077bb Soongify PackageInstaller.
Test: Built, installed app
Change-Id: I29e21e177ae3a89d6814efa6c164fd6b2c80cf3d
2018-08-01 10:21:30 -07:00
Philip P. Moltmann
f325e288b3 Clean up package installer
- remove unnecessary androidx dependency
- Move OverlayTouchActivity to base package as this app does not deal
  with permissions anymore.

Test: Built
Change-Id: I055ac287f480e9ba47c54333e7994efe87648f1b
2018-08-01 10:21:30 -07:00
Philip P. Moltmann
8943ad6325 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 does only minimal cleanup cleanup. In particularly it does
not move any files in the old permissions controller. This is to not
disturb other features currently in development.

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

Further the permisson policy xmls need to be updated to point to the
right packages.

Test: Installed + uninstalled packages
      Granted permissions + managed permissions

      GtsPackageInstallTestCases
      GtsNoPermissionTestCases
      GtsNoPermissionTestCases25
      GtsPackageInstallerTapjackingTestCases
      GtsPackageUninstallTestCases
Change-Id: I2d3796b837fc0049e712c82a990907f305c8febf
2018-07-30 08:59:51 -07:00
Philip P. Moltmann
d85d941f5a Copy package installer into framework/base/packages/PackageInstaller
No code modifications done yet so that it will be clear what code
changed.

Test: Does not build. requires later change
Change-Id: If0c0be70555808424d214ba6627a3042666925ed
2018-07-30 08:59:51 -07:00