diff options
| author | 2019-10-30 16:15:16 -0700 | |
|---|---|---|
| committer | 2019-12-12 10:54:29 -0800 | |
| commit | fe4869eb71a40bbb565c8e2d8e4a894b976dec6e (patch) | |
| tree | 689f05ddf03eb7787391d652e71da2d8ce5558a1 | |
| parent | 6fce89f8b65755657d46ed6f938eeb8ec7b79a90 (diff) | |
Define permission GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS
Bug: 143580692
Test: make
Change-Id: Ib70c1451ec807165de0647b30cadaa496ac5cbce
Merged-In: I6f36d67145d976d31a4d6acf3b5a42363f11a82a
| -rw-r--r-- | api/system-current.txt | 1 | ||||
| -rw-r--r-- | core/res/AndroidManifest.xml | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt index ebfd55edf8fe..8ee5d39b0217 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -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"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index a35c4dbdf383..8dc84c804055 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -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. --> |