permission(core): Modify protection level for SUBSCRIBE_TO_KEYGUARD

This is needed by NFC stack (which is a platform APK currently, but is
planned to become a mainline module in the future).

Bug: 227958253
Test: Compiles
Merged-In: Iaa22957057dad13df84cbbe7c7e92c47d4e79fa2

Change-Id: Iaa22957057dad13df84cbbe7c7e92c47d4e79fa2
This commit is contained in:
Roshan Pius
2023-05-01 11:58:06 -07:00
parent 956e4f969f
commit 42beaa7cfa

View File

@@ -4237,11 +4237,11 @@
android:protectionLevel="internal|preinstalled" />
<!-- Allows an application to subscribe to keyguard locked (i.e., showing) state.
<p>Protection level: internal|role
<p>Intended for use by ROLE_ASSISTANT only.
<p>Protection level: signature|role
<p>Intended for use by ROLE_ASSISTANT and signature apps only.
-->
<permission android:name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE"
android:protectionLevel="internal|role"/>
android:protectionLevel="signature|role"/>
<!-- Must be required by a {@link android.service.autofill.AutofillService},
to ensure that only the system can bind to it.