diff options
| author | 2019-03-26 06:08:25 -0700 | |
|---|---|---|
| committer | 2019-03-26 06:08:25 -0700 | |
| commit | e6039fbffef528cddd0fa9496af258c24a5960b8 (patch) | |
| tree | 64a7b0edc0c8fbd530761015aec952bd6b1e6dc4 | |
| parent | f066e6b7842f2ca9fb5a1609fc61a7cbd1c9e4fe (diff) | |
| parent | 300026a5e9f70e460d94052b6454c067ac7a347b (diff) | |
Merge "Move EmergencyInfo perm whitelist to /product" am: ae957afaa6
am: 300026a5e9
Change-Id: Ia932307a9b85366daa8e8ec09dd92a124ea1d8cf
| -rw-r--r-- | data/etc/Android.bp | 8 | ||||
| -rw-r--r-- | data/etc/com.android.emergency.xml | 23 | ||||
| -rw-r--r-- | data/etc/privapp-permissions-platform.xml | 6 |
3 files changed, 31 insertions, 6 deletions
diff --git a/data/etc/Android.bp b/data/etc/Android.bp index bb4765835890..3968f84471c5 100644 --- a/data/etc/Android.bp +++ b/data/etc/Android.bp @@ -66,6 +66,14 @@ prebuilt_etc { } prebuilt_etc { + name: "privapp_whitelist_com.android.emergency", + product_specific: true, + sub_dir: "permissions", + src: "com.android.emergency.xml", + filename_from_src: true, +} + +prebuilt_etc { name: "privapp_whitelist_com.android.launcher3", product_specific: true, sub_dir: "permissions", diff --git a/data/etc/com.android.emergency.xml b/data/etc/com.android.emergency.xml new file mode 100644 index 000000000000..28f99dd1d018 --- /dev/null +++ b/data/etc/com.android.emergency.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2019 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> +<permissions> + <privapp-permissions package="com.android.emergency"> + <!-- Required to place emergency calls from emergency info screen. --> + <permission name="android.permission.CALL_PRIVILEGED"/> + <permission name="android.permission.MANAGE_USERS"/> + </privapp-permissions> +</permissions> diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 78bbcf137f2a..9decd086972a 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -48,12 +48,6 @@ applications that come with the platform <permission name="android.permission.WRITE_MEDIA_STORAGE"/> </privapp-permissions> - <privapp-permissions package="com.android.emergency"> - <!-- Required to place emergency calls from emergency info screen. --> - <permission name="android.permission.CALL_PRIVILEGED"/> - <permission name="android.permission.MANAGE_USERS"/> - </privapp-permissions> - <privapp-permissions package="com.android.externalstorage"> <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/> <permission name="android.permission.WRITE_MEDIA_STORAGE"/> |