Commit 7f972d91 authored by Bernhard Thoben's avatar Bernhard Thoben
Browse files

suzuran: Made FDroidPrivilegedExtension usable as a privileged app.

Change-Id: I8ce0738bd96d7daf32ec53af4c8d9bf61968fcad
parent ad0707f9
#
# Copyright (C) 2016 The CyanogenMod Project
# 2017-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 is made by Bernhard Thoben 2020-12-23
include $(CLEAR_VARS)
LOCAL_MODULE := privapp_whitelist_org.fdroid.fdroid.privileged.xml
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
LOCAL_SRC_FILES := configs/privapp_whitelist_org.fdroid.fdroid.privileged.xml
include $(BUILD_PREBUILT)
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2017-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 is made by Bernhard Thoben 2020-12-23
-->
<permissions>
<privapp-permissions package="org.fdroid.fdroid.privileged">
<permission name="android.permission.DELETE_PACKAGES"/>
<permission name="android.permission.INSTALL_PACKAGES"/>
</privapp-permissions>
</permissions>
......@@ -24,6 +24,10 @@ $(call inherit-product, vendor/sony/suzuran/suzuran-vendor.mk)
# FDroid
$(call inherit-product-if-exists, vendor/fdroid/fdroid-vendor.mk)
# FDroidPrivilegedExtension
PRODUCT_PACKAGES += \
privapp_whitelist_org.fdroid.fdroid.privileged.xml
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment