Loading core/java/android/security/flags.aconfig +8 −0 Original line number Diff line number Diff line Loading @@ -138,3 +138,11 @@ flag { bug: "373422357" is_exported: true } flag { name: "subscribe_to_keyguard_locked_state_perm_priv_flag" namespace: "psap_ai" description: "Feature flag to add the privileged flag to the SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE permission" bug: "380120712" is_fixed_read_only: true } No newline at end of file core/res/AndroidManifest.xml +13 −3 Original line number Diff line number Diff line Loading @@ -5648,11 +5648,21 @@ <!-- Allows an application to subscribe to device locked and keyguard locked (i.e., showing) state. <p>Protection level: signature|role <p>Intended for use by ROLE_ASSISTANT and signature apps only. <p>Protection level: signature|module|role <p>Intended for use by ROLE_ASSISTANT, VDM, and signature apps only. --> <permission android:name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" android:protectionLevel="signature|module|role" android:featureFlag="!android.security.subscribe_to_keyguard_locked_state_perm_priv_flag"/> <!-- Allows an application to subscribe to device locked and keyguard locked (i.e., showing) state. <p>Protection level: signature|privileged|module|role <p>Intended for use by ROLE_ASSISTANT, VDM, and signature / privileged apps only. --> <permission android:name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" android:protectionLevel="signature|module|role"/> android:protectionLevel="signature|privileged|module|role" android:featureFlag="android.security.subscribe_to_keyguard_locked_state_perm_priv_flag"/> <!-- Must be required by a {@link android.service.autofill.AutofillService}, to ensure that only the system can bind to it. Loading data/etc/com.android.systemui.xml +1 −0 Original line number Diff line number Diff line Loading @@ -94,5 +94,6 @@ <permission name="android.permission.CONTROL_UI_TRACING" /> <permission name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND" /> <permission name="android.permission.OVERRIDE_SYSTEM_KEY_BEHAVIOR_IN_FOCUSED_WINDOW"/> <permission name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" /> </privapp-permissions> </permissions> data/etc/privapp-permissions-platform.xml +2 −0 Original line number Diff line number Diff line Loading @@ -607,6 +607,8 @@ applications that come with the platform <!-- Permission required for CTS test - IntrusionDetectionManagerTest --> <permission name="android.permission.READ_INTRUSION_DETECTION_STATE" /> <permission name="android.permission.MANAGE_INTRUSION_DETECTION_STATE" /> <!-- Permission required for CTS test - KeyguardLockedStateApiTest --> <permission name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" /> </privapp-permissions> <privapp-permissions package="com.android.statementservice"> Loading Loading
core/java/android/security/flags.aconfig +8 −0 Original line number Diff line number Diff line Loading @@ -138,3 +138,11 @@ flag { bug: "373422357" is_exported: true } flag { name: "subscribe_to_keyguard_locked_state_perm_priv_flag" namespace: "psap_ai" description: "Feature flag to add the privileged flag to the SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE permission" bug: "380120712" is_fixed_read_only: true } No newline at end of file
core/res/AndroidManifest.xml +13 −3 Original line number Diff line number Diff line Loading @@ -5648,11 +5648,21 @@ <!-- Allows an application to subscribe to device locked and keyguard locked (i.e., showing) state. <p>Protection level: signature|role <p>Intended for use by ROLE_ASSISTANT and signature apps only. <p>Protection level: signature|module|role <p>Intended for use by ROLE_ASSISTANT, VDM, and signature apps only. --> <permission android:name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" android:protectionLevel="signature|module|role" android:featureFlag="!android.security.subscribe_to_keyguard_locked_state_perm_priv_flag"/> <!-- Allows an application to subscribe to device locked and keyguard locked (i.e., showing) state. <p>Protection level: signature|privileged|module|role <p>Intended for use by ROLE_ASSISTANT, VDM, and signature / privileged apps only. --> <permission android:name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" android:protectionLevel="signature|module|role"/> android:protectionLevel="signature|privileged|module|role" android:featureFlag="android.security.subscribe_to_keyguard_locked_state_perm_priv_flag"/> <!-- Must be required by a {@link android.service.autofill.AutofillService}, to ensure that only the system can bind to it. Loading
data/etc/com.android.systemui.xml +1 −0 Original line number Diff line number Diff line Loading @@ -94,5 +94,6 @@ <permission name="android.permission.CONTROL_UI_TRACING" /> <permission name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND" /> <permission name="android.permission.OVERRIDE_SYSTEM_KEY_BEHAVIOR_IN_FOCUSED_WINDOW"/> <permission name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" /> </privapp-permissions> </permissions>
data/etc/privapp-permissions-platform.xml +2 −0 Original line number Diff line number Diff line Loading @@ -607,6 +607,8 @@ applications that come with the platform <!-- Permission required for CTS test - IntrusionDetectionManagerTest --> <permission name="android.permission.READ_INTRUSION_DETECTION_STATE" /> <permission name="android.permission.MANAGE_INTRUSION_DETECTION_STATE" /> <!-- Permission required for CTS test - KeyguardLockedStateApiTest --> <permission name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" /> </privapp-permissions> <privapp-permissions package="com.android.statementservice"> Loading