Add privileged to BROADCAST_CLOSE_SYSTEM_DIALOGS
CellBroadcastReceiver, a mainline module signed with the networkstack, needs it before showing emergency alerts to the user. This is inline and ok with the rest of of the restrictions given that STATUS_BAR that allows calls to StatusBarManager.collapsePanels() also has "privileged" protection level. Also adding permission to privapp-permissions-platform for Launcher3 because of b/177506944, despite it getting it via "recents" protection level. Bug: 177346942 Bug: 159105552 Test: atest PermissionPolicyTest Change-Id: If027c6824a58c8b9a917f9995e34bf8b306cab54
This commit is contained in:
@@ -4297,7 +4297,7 @@
|
||||
<p>Not for use by third-party applications.
|
||||
-->
|
||||
<permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS"
|
||||
android:protectionLevel="signature|recents" />
|
||||
android:protectionLevel="signature|privileged|recents" />
|
||||
<uses-permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS" />
|
||||
|
||||
<!-- Allows an application to broadcast a notification that an application
|
||||
|
||||
@@ -69,6 +69,7 @@ applications that come with the platform
|
||||
|
||||
<privapp-permissions package="com.android.launcher3">
|
||||
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
|
||||
<permission name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS"/>
|
||||
</privapp-permissions>
|
||||
|
||||
<privapp-permissions package="com.android.location.fused">
|
||||
|
||||
Reference in New Issue
Block a user