diff options
author | 2020-07-05 17:06:20 +0000 | |
---|---|---|
committer | 2020-07-05 17:06:20 +0000 | |
commit | b65eff6a2996075b83a6e10f929659d656600a72 (patch) | |
tree | c367dee919a9869bc379c5ab3cf64e35b7118b6c | |
parent | 07e62d7649de1e68c1a46c7195cbe2440f3ba779 (diff) | |
parent | fb723fabace461447e3378564390409bf474e8e1 (diff) |
Merge "Add privapp permissions permission for com.android.cellbroadcastreceiver package." am: fb723fabac
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1352924
Change-Id: I913ff699ea4d2e74e7be7b1ae73636a5828be4ac
-rw-r--r-- | data/etc/Android.bp | 8 | ||||
-rw-r--r-- | data/etc/com.android.cellbroadcastreceiver.xml | 26 |
2 files changed, 34 insertions, 0 deletions
diff --git a/data/etc/Android.bp b/data/etc/Android.bp index 0d12e1f7f83d..99b5a062e44e 100644 --- a/data/etc/Android.bp +++ b/data/etc/Android.bp @@ -50,6 +50,14 @@ prebuilt_etc { } prebuilt_etc { + name: "privapp_whitelist_com.android.cellbroadcastreceiver", + system_ext_specific: true, + sub_dir: "permissions", + src: "com.android.cellbroadcastreceiver.xml", + filename_from_src: true, +} + +prebuilt_etc { name: "privapp_whitelist_com.android.contacts", product_specific: true, sub_dir: "permissions", diff --git a/data/etc/com.android.cellbroadcastreceiver.xml b/data/etc/com.android.cellbroadcastreceiver.xml new file mode 100644 index 000000000000..dd2df42e442f --- /dev/null +++ b/data/etc/com.android.cellbroadcastreceiver.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2020 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.cellbroadcastreceiver"> + <permission name="android.permission.INTERACT_ACROSS_USERS"/> + <permission name="android.permission.MANAGE_USERS"/> + <permission name="android.permission.MODIFY_PHONE_STATE"/> + <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> + <permission name="android.permission.RECEIVE_EMERGENCY_BROADCAST"/> + <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/> + </privapp-permissions> +</permissions> |