diff --git a/config/common.mk b/config/common.mk index 32b0c622b7c96bd42227966e4c8b8c29d4b5c7b7..7082020a4093d7b155bd89c0b993194373dd225c 100644 --- a/config/common.mk +++ b/config/common.mk @@ -47,6 +47,10 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ vendor/lineage/config/permissions/lineage-sysconfig.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/lineage-sysconfig.xml +# Pre-granted eos-permissions +PRODUCT_COPY_FILES += \ + vendor/lineage/config/permissions/eos-permissions.xml:system/etc/default-permissions/eos-permissions.xml + # Copy all Lineage-specific init rc files $(foreach f,$(wildcard vendor/lineage/prebuilt/common/etc/init/*.rc),\ $(eval PRODUCT_COPY_FILES += $(f):$(TARGET_COPY_OUT_SYSTEM)/etc/init/$(notdir $f))) @@ -132,7 +136,8 @@ PRODUCT_PACKAGES += \ Apps \ ESmsSync \ SystemUIWithLegacyRecents \ - + PwaPlayer + ifeq ($(INCLUDE_BACKUP_APP),true) PRODUCT_PACKAGES += SeedVault endif diff --git a/config/lineage_sdk_common.mk b/config/lineage_sdk_common.mk index 022e69dcf01d02b6836ddb13dba12b5d8bf90ab7..4e5d3a57cfdbe13d52afa585a9c8052ce7daa08a 100644 --- a/config/lineage_sdk_common.mk +++ b/config/lineage_sdk_common.mk @@ -6,7 +6,8 @@ PRODUCT_COPY_FILES += \ vendor/lineage/config/permissions/org.lineageos.performance.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.performance.xml \ vendor/lineage/config/permissions/org.lineageos.profiles.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.profiles.xml \ vendor/lineage/config/permissions/org.lineageos.settings.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.settings.xml \ - vendor/lineage/config/permissions/org.lineageos.trust.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.trust.xml + vendor/lineage/config/permissions/org.lineageos.trust.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.trust.xml \ + vendor/lineage/config/permissions/org.lineageos.weather.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.weather.xml # Lineage Platform Library PRODUCT_PACKAGES += \ diff --git a/config/permissions/eos-permissions.xml b/config/permissions/eos-permissions.xml new file mode 100644 index 0000000000000000000000000000000000000000..3c387e13b458677e2b2324b637488153956c5f27 --- /dev/null +++ b/config/permissions/eos-permissions.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +