[android-porting] How to grant priv-app (pre-build) APK permissions by default

2020-08-05 Thread Trần Kha
Hello Riccardo, Please set PRODUCT_PROPERTY_OVERRIDES += control_privapp_permissions=enforce to your current makefile of your product. To check missing permission and other information related to Privileged permission, please refer this reference:

[android-porting] How to grant priv-app (pre-build) APK permissions by default

2020-08-05 Thread Riccardo Bruè
Hi, I have a prebuild APK which I've added in my AOSP system by adding its name on the PRODUCT_PACKAGES variable. I can successfully see my app under "/system/priv-app" folder and I've added all its permissions in the "privapp-permissions-platform.xml" file. Now I was thinking that all the