Commits
Jindong committed 27b433a00cc
MA-13736 OTA: add FSLOta app permissions to whiltelists to pass cts Board can't pass android.permission2.cts.PrivappPermissionsTest#testPrivappPermissionsEnforcement in CtsPermission2TestCases module with below error: Not whitelisted permissions are granted for package com.fsl.android.ota: [android.permission.ACCESS_CACHE_FILESYSTEM, android.permission.REBOOT, android.permission.RECOVERY] Need add these permissions to whitelists. If move FSLOta to /vendor/priv-app, this case fails with below error: Requested permissions not granted for package com.fsl.android.ota. PackageManager: Permission android.permission.REBOOT cannot be granted to privileged vendor apk com.fsl.android.ota because it isn't a 'vendorPrivileged' permission. Change-Id: I62b73cf7bd6b5572d7c35973384d476b5a430616 Signed-off-by: Jindong <jindong.yue@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/6838 Reviewed-by: zhang sanshan <sanshan.zhang@nxp.com>