Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22fa6f4d authored by Bernhard Thoben's avatar Bernhard Thoben
Browse files

suzuran: Made FDroidPrivilegedExtension usable as a privileged app.

Change-Id: I8ce0738bd96d7daf32ec53af4c8d9bf61968fcad
parent d5c89b3d
Loading
Loading
Loading
Loading

configs/Android.mk

0 → 100644
+25 −0
Original line number Diff line number Diff line
#
# 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)
+24 −0
Original line number Diff line number Diff line
<?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>
+4 −0
Original line number Diff line number Diff line
@@ -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