Define permission GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS

Bug: 143580692
Test: make
Change-Id: Ib70c1451ec807165de0647b30cadaa496ac5cbce
Merged-In: I6f36d67145d976d31a4d6acf3b5a42363f11a82a
This commit is contained in:
Meng Wang
2019-10-30 16:15:16 -07:00
parent 6fce89f8b6
commit fe4869eb71
2 changed files with 6 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ package android {
field public static final String GET_TOP_ACTIVITY_INFO = "android.permission.GET_TOP_ACTIVITY_INFO";
field public static final String GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS = "android.permission.GRANT_PROFILE_OWNER_DEVICE_IDS_ACCESS";
field public static final String GRANT_RUNTIME_PERMISSIONS = "android.permission.GRANT_RUNTIME_PERMISSIONS";
field public static final String GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS = "android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS";
field public static final String HANDLE_CAR_MODE_CHANGES = "android.permission.HANDLE_CAR_MODE_CHANGES";
field public static final String HARDWARE_TEST = "android.permission.HARDWARE_TEST";
field public static final String HDMI_CEC = "android.permission.HDMI_CEC";

View File

@@ -2030,6 +2030,11 @@
<!-- =========================================== -->
<eat-comment />
<!-- @SystemApi Allows granting runtime permissions to telephony related components.
@hide Used internally. -->
<permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS"
android:protectionLevel="signature|telephony" />
<!-- Allows modification of the telephony state - power on, mmi, etc.
Does not include placing calls.
<p>Not for use by third-party applications. -->