I\'m trying to add a new group permission in Android but it is not taking effect in my application (new CTS test). Below are the changes :
test@test-ubuntu:~
I was able to solve the problem. Additional change has to be made in frameworks/base/core/res/AndroidManifest.xml
:
test@test-ubuntu:~/android_aosp/frameworks/base$ git diff core/res/AndroidManifest.xml
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 4b1c534..a4ba0b5 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -1054,6 +1054,12 @@
<permission android:name="android.permission.BLUETOOTH_STACK"
android:protectionLevel="signature" />
+ <!-- Allows applications to access files in xyz group.
+ <p>Protection level: normal
+ -->
+ <permission android:name="android.permission.XYZ"
+ android:protectionLevel="normal" />
+
<!-- Allows applications to perform I/O operations over NFC.
<p>Protection level: normal
-->
After that need to execute make update-api
and then build the full Android again