Merge "add telephony role to some permissions needed by telephony module"

This commit is contained in:
Chen Xu
2019-10-18 20:33:47 +00:00
committed by Android (Google) Code Review

View File

@@ -2274,7 +2274,7 @@
types of interactions
@hide -->
<permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
android:protectionLevel="signature|installer" />
android:protectionLevel="signature|installer|telephony" />
<!-- @SystemApi Allows an application to start its own activities, but on a different profile
associated with the user. For example, an application running on the main profile of a user
@@ -2904,8 +2904,9 @@
<!-- Allows an application to be the status bar. Currently used only by SystemUI.apk
@hide -->
// TODO: remove telephony once decouple settings activity from phone process
<permission android:name="android.permission.STATUS_BAR_SERVICE"
android:protectionLevel="signature" />
android:protectionLevel="signature|telephony" />
<!-- Allows an application to bind to third party quick settings tiles.
<p>Should only be requested by the System, should be required by
@@ -3032,7 +3033,7 @@
@hide
-->
<permission android:name="android.permission.SET_ACTIVITY_WATCHER"
android:protectionLevel="signature" />
android:protectionLevel="signature|telephony" />
<!-- @SystemApi Allows an application to call the activity manager shutdown() API
to put the higher-level system there into a shutdown state.
@@ -3536,7 +3537,7 @@
<!-- @SystemApi Allows an application to manage the holders of a role.
@hide -->
<permission android:name="android.permission.MANAGE_ROLE_HOLDERS"
android:protectionLevel="signature|installer" />
android:protectionLevel="signature|installer|telephony" />
<!-- @SystemApi Allows an application to observe role holder changes.
@hide -->
@@ -4569,7 +4570,7 @@
<!-- @hide Permission that allows configuring appops.
<p>Not for use by third-party applications. -->
<permission android:name="android.permission.MANAGE_APPOPS"
android:protectionLevel="signature" />
android:protectionLevel="signature|telephony" />
<!-- @hide Permission that allows background clipboard access.
<p>Not for use by third-party applications. -->