diff --git a/Patches/Common/android_vendor_divested/divestos.mk b/Patches/Common/android_vendor_divested/divestos.mk index eee3d475..5533d4f6 100644 --- a/Patches/Common/android_vendor_divested/divestos.mk +++ b/Patches/Common/android_vendor_divested/divestos.mk @@ -22,8 +22,7 @@ PRODUCT_PROPERTY_OVERRIDES += \ #Copy extra files PRODUCT_COPY_FILES += \ vendor/divested/prebuilts/etc/additional_fdroid_repos.xml:system/etc/org.fdroid.fdroid/additional_repos.xml \ - vendor/divested/prebuilts/etc/additional_fdroid_repos.xml:system/etc/org.fdroid.basic/additional_repos.xml \ - vendor/divested/prebuilts/etc/microg.xml:system/etc/microg.xml + vendor/divested/prebuilts/etc/additional_fdroid_repos.xml:system/etc/org.fdroid.basic/additional_repos.xml #Include packages include vendor/divested/packages.mk diff --git a/Patches/Common/android_vendor_divested/packages.mk b/Patches/Common/android_vendor_divested/packages.mk index 378d7385..d59c8614 100644 --- a/Patches/Common/android_vendor_divested/packages.mk +++ b/Patches/Common/android_vendor_divested/packages.mk @@ -16,7 +16,8 @@ endif # Extras PRODUCT_PACKAGES += \ TalkBack \ - SupportDivestOS + SupportDivestOS \ + microg.xml # Notes # - Available (via PrebuiltApps submodule): eSpeakNG diff --git a/Patches/Common/android_vendor_divested/strict_microG/Android.mk b/Patches/Common/android_vendor_divested/strict_microG/Android.mk new file mode 100644 index 00000000..40e5ff2b --- /dev/null +++ b/Patches/Common/android_vendor_divested/strict_microG/Android.mk @@ -0,0 +1,31 @@ +# +# Copyright (C) 2016 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. +# + +# Set strict defaults for microG + +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := microg.xml +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT_ETC) +LOCAL_SRC_FILES := $(LOCAL_MODULE) +LOCAL_PRODUCT_MODULE := true + + +include $(BUILD_PREBUILT) diff --git a/Patches/Common/android_vendor_divested/prebuilts/etc/microg.xml b/Patches/Common/android_vendor_divested/strict_microG/microg.xml similarity index 100% rename from Patches/Common/android_vendor_divested/prebuilts/etc/microg.xml rename to Patches/Common/android_vendor_divested/strict_microG/microg.xml diff --git a/Patches/LineageOS-20.0/android_frameworks_base/0036-Hardened-signature-spoofing.patch b/Patches/LineageOS-20.0/android_frameworks_base/0036-Hardened-signature-spoofing.patch index b8737af9..c16d4d7d 100644 --- a/Patches/LineageOS-20.0/android_frameworks_base/0036-Hardened-signature-spoofing.patch +++ b/Patches/LineageOS-20.0/android_frameworks_base/0036-Hardened-signature-spoofing.patch @@ -92,7 +92,7 @@ index a01ec67630de..20ab9e79ae79 100644