diff --git a/config/common.mk b/config/common.mk index 2c6dcf8e1192322288a2fc77aee5cddfdd6fdf96..983642931618712bb3fe620ad96f992623e7c950 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))) 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +