diff options
author | Luca Stefani <luca.stefani.ge1@gmail.com> | 2019-11-01 21:13:30 +0100 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2019-11-22 17:17:32 +0100 |
commit | 3a53c693c45d02af8e82dffd537e7c7cbc857d34 (patch) | |
tree | 04021ba9f2d92340c8d2cea78726dd26450d8946 | |
parent | 353ca94b0c5f3e1ca263977349e887b7013faef3 (diff) | |
download | android_frameworks_base-3a53c693c45d02af8e82dffd537e7c7cbc857d34.tar.gz android_frameworks_base-3a53c693c45d02af8e82dffd537e7c7cbc857d34.tar.bz2 android_frameworks_base-3a53c693c45d02af8e82dffd537e7c7cbc857d34.zip |
etc: Add privapp whitelist permissions for ThemePicker
Change-Id: I6e0a5924ac5d9bccd8d9b43aa02cd200cb58bfd1
-rw-r--r-- | data/etc/Android.bp | 8 | ||||
-rw-r--r-- | data/etc/com.android.wallpaper.xml | 23 |
2 files changed, 31 insertions, 0 deletions
diff --git a/data/etc/Android.bp b/data/etc/Android.bp index 4493f3a8ddd..1e00d6b4b10 100644 --- a/data/etc/Android.bp +++ b/data/etc/Android.bp @@ -129,6 +129,14 @@ prebuilt_etc { } prebuilt_etc { + name: "privapp_whitelist_com.android.wallpaper", + product_specific: true, + sub_dir: "permissions", + src: "com.android.wallpaper.xml", + filename_from_src: true, +} + +prebuilt_etc { name: "com.android.timezone.updater.xml", sub_dir: "permissions", src: "com.android.timezone.updater.xml", diff --git a/data/etc/com.android.wallpaper.xml b/data/etc/com.android.wallpaper.xml new file mode 100644 index 00000000000..a61cd419139 --- /dev/null +++ b/data/etc/com.android.wallpaper.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.wallpaper"> + <permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/> + <permission name="android.permission.SET_WALLPAPER_COMPONENT"/> + <permission name="android.permission.WRITE_SECURE_SETTINGS"/> + </privapp-permissions> +</permissions> |