OSDN Git Service

Add update packages permission
authorChad Brubaker <cbrubaker@google.com>
Thu, 11 Jan 2018 22:22:15 +0000 (14:22 -0800)
committerChad Brubaker <cbrubaker@google.com>
Thu, 11 Jan 2018 22:22:15 +0000 (14:22 -0800)
commitadcb5222266a19ee55a1ef6acd45892164084153
tree5635587b1bca90db10584e6558c71c731a772103
parent5fd1c97e34e54cd74c304cacf5c3ccdaaa7a7e13
Add update packages permission

This subset of INSTALL_PACKAGES allows a privileged application to
install updates to existing applications but not install new
applications.

When combined with INSTALL_SELF_UPDATES this allows privileged apps to
be granted finely scoped install privileges based on their intended
usage instead of the more broad INSTALL_PACKAGES permission.

Test: WIP
Bug: 68731532
Change-Id: Ifbb6f5a18d9e8ff06270fd79ed031b99242c6fa3
api/system-current.txt
core/res/AndroidManifest.xml
services/core/java/com/android/server/pm/PackageInstallerSession.java