Whitelist all perms on installExistingPackage
The code allows to also whitelist only a select set of permissions, but this is not yet exposed in the API. Also: Fix up shell commands for restricted permissions Fixes: 132368462 Test: - Enabled app via device admin in secondary profile -> verified that permissions were whitelisted - Installed existing and new app using --restrictpermissions and not -> verified that permissions were whitelisted or not atest AppRestrictionsHelperTest RestrictedPermissionsTest Change-Id: I9cd76c555b40663f2e25ad86e8a54991baae346c Merged-In: I9787e63d8beb8f6b1ba2d15532d4c0f69dbdf863
Loading
Please register or sign in to comment