From cbad97dacb6b5cd20f500d5b41db777596319a09 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Wed, 4 Nov 2020 12:16:24 +0530 Subject: [PATCH] Add default permissions for some apps on Q Change-Id: I93ad0fecaf2f4487de35ebd620e3c855cb862250 --- config/common.mk | 4 ++ config/permissions/eos-permissions.xml | 72 ++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 config/permissions/eos-permissions.xml diff --git a/config/common.mk b/config/common.mk index 2c6dcf8e1..983642931 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 000000000..3c387e13b --- /dev/null +++ b/config/permissions/eos-permissions.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- GitLab