diff options
| author | 2019-10-30 16:15:16 -0700 | |
|---|---|---|
| committer | 2019-11-04 11:52:16 -0800 | |
| commit | b3d449b8ad56ee9f41e00ba600a4305d2f832005 (patch) | |
| tree | f4be3b6286957ade9b4e4e2a5d76b12ceb84ea0f | |
| parent | 3bf1ccc1cfe3988fddc68436f9d557bf33f927ca (diff) | |
Define permission GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS
Bug: 143580692
Test: make
Change-Id: 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 b9dfad5d5df5..d9f4eaaa8397 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 HARDWARE_TEST = "android.permission.HARDWARE_TEST"; field public static final String HDMI_CEC = "android.permission.HDMI_CEC"; field public static final String HIDE_NON_SYSTEM_OVERLAY_WINDOWS = "android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index c365aaecb6f9..387ea0624e98 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -2005,6 +2005,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. --> |