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

Skip to content
Commit e272b25a authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Enforced app op permission in package installer

Apps targetting O and above need to declare REQUEST_INSTALL_PACKAGES
permission in order to start package installer. Only apps exempt are
downloads provider and document manager apps. And only these apps can
use EXTRA_ORIGINATING_UID to blame other uids for app installs. Also
added a special wraning dialog for when system cannot identify the
source of the package.

Test: gts-tradefed run gts -m ExternalSourcesNegative

Bug: 35916776,
     33351244
Change-Id: I74b242355807502c4e1bf0e7dbdb9845dc725e48
parent 97935a7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment