From 098aec76fc3b788f6df26a8ef07a8aeb169c45bb Mon Sep 17 00:00:00 2001 From: ReallySnow Date: Tue, 28 Mar 2023 22:26:38 +0200 Subject: [PATCH] wahoo: Initial minimal privapp permissions * Used to deal with permission issues caused by Gapps updates Change-Id: I39661b1250f2f2bfb3d7ce722affe429bcd2de2a --- device.mk | 5 +++++ permissions/pixel_permissions_product.xml | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 permissions/pixel_permissions_product.xml diff --git a/device.mk b/device.mk index 86925765..89719fb9 100755 --- a/device.mk +++ b/device.mk @@ -193,6 +193,11 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ android.hardware.health@2.0-service.wahoo +# Permissions +# NOTE: Used to deal with permission issues caused by Gapps updates +PRODUCT_COPY_FILES += \ + device/google/wahoo/permissions/pixel_permissions_product.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/pixel_permissions_product.xml + # Radio Hal PRODUCT_PACKAGES += \ android.hardware.radio@1.1.vendor \ diff --git a/permissions/pixel_permissions_product.xml b/permissions/pixel_permissions_product.xml new file mode 100644 index 00000000..77510507 --- /dev/null +++ b/permissions/pixel_permissions_product.xml @@ -0,0 +1,11 @@ + + + + + + + + + + +