summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chen Xu <fionaxu@google.com> 2019-10-17 00:15:53 -0700
committer Chen Xu <fionaxu@google.com> 2019-10-17 11:29:31 -0700
commit954252fd65da094945a5250adc843afc43f40f20 (patch)
treef2e046ce1be4f94e70771a784759a5bce2f4ec4d
parent503be6e625ed459bc060e6d1a305bab14dd9124f (diff)
add telephony role to some permissions needed by telephony module
Bug: 141479803 Test: Build & Manual Change-Id: I46f38cccef70dc73254f3309e5d0242bba9b51d4
-rw-r--r--core/res/AndroidManifest.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index b030b33daf5e..3049a43525a5 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -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.
@@ -3529,7 +3530,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 -->
@@ -4562,7 +4563,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. -->