Add test for INSTALL_PACKAGES when adding installer package
Verifies that INSTALL_PACKAGES is required to add an installer
to an existing package and that an app cannot exploit a previous
vulnerability allowing it to grant itself whitelist restricted
permissions.
Bug: 150857253
Test: atest android.appsecurity.cts.PackageSetInstallerTest
Test: atest CtsMediaHostTestCases
Test: cts-tradefed run commandAndExit cts --abi armeabi-v7a
-m CtsMediaBitstreamsTestCases
Change-Id: Ib94bc437d6738821f58367216b711096459768c2
33 files changed