Revert "permissions: Add wallpaper default permissions"

This reverts commit d52a7dd4a4.

Reason for revert: Will be added to app_override

Change-Id: I344ae2b70cecced1cc10847ba8a26a74c5db8410
This commit is contained in:
Omkar Chandorkar 2022-09-04 12:30:43 +00:00
parent d056899384
commit 60c072b3f6
2 changed files with 1 additions and 39 deletions

View File

@ -1,37 +0,0 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!--
Copyright (C) 2019-2020 The LineageOS 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.
-->
<!--
This file contains permissions to be granted by default. Default
permissions are granted to special platform components and to apps
that are approved to get default grants. The special components
are apps that are expected to work out-of-the-box as they provide
core use cases such as default dialer, default email, etc. These
grants are managed by the platform. The apps that are additionally
approved for default grants are ones that provide carrier specific
functionality, ones legally required at some location, ones providing
alternative disclosure and opt-out UI, ones providing highlight features
of a dedicated device, etc. This file contains only the latter exceptions.
Fixed permissions cannot be controlled by the user and need a special
approval. Typically these are to ensure either legally mandated functions
or the app is considered a part of the OS.
-->
<exceptions>
<exception package="com.android.wallpaper">
<permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/>
</exception>
</exceptions>

View File

@ -74,8 +74,7 @@ PRODUCT_VENDOR_MOVE_ENABLED := true
PRODUCT_COPY_FILES += \
vendor/aospa/target/config/permissions/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml \
vendor/aospa/target/config/permissions/lily_experience.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/lily_experience.xml \
vendor/aospa/target/config/permissions/privapp_whitelist_com.android.wallpaper.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp_whitelist_com.android.wallpaper.xml \
vendor/aospa/target/config/permissions/default_permissions_com.android.wallpaper.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/default-permissions/default_permissions_com.android.wallpaper.xml
vendor/aospa/target/config/permissions/privapp_whitelist_com.android.wallpaper.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp_whitelist_com.android.wallpaper.xml
# Sensitive phone numbers and APN configurations
PRODUCT_COPY_FILES += \