Closed anestisb closed 6 years ago
The following two commits shed some light:
Seems that ro.control_privapp_permissions
set to enforce is required to pass CTS. Will manually add for affected devices and see if something breaks. cc @thestinger
I'm already setting that myself but it required fixes.
I needed these changes for Android 8.0:
I need to check and make sure it's all okay for Android 8.1 (mr1). I forgot to check this properly.
I think my changes are still up-to-date.
Also note that the CTS does not yet require setting enforce to pass, but Nexus and Pixel devices do set it. It requires correct whitelists and presumably they'll make using enforce into a requirement for Android 9.0. The documentation covers that too: only correct whitelists required to pass, so at the moment AOSP doesn't pass...
Thanks @thestinger for the info. Closing the issue since current state appears to be ok.
I'm mostly concerned about
ro.control_privapp_permissions
. Will investigate further as soon as I've finished indexing the entire8.1.0_r1
codebase.