Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0999ac3e authored by Sahil Sonar's avatar Sahil Sonar 💬
Browse files

config: Allow disabling lineage health

  - This feature is not supported on some devices including teracube 2e
    and was preventing battery stats from being displayed.
  - Log: https://katb.in/elagujesedu.
parent 7973c8be
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2,12 +2,16 @@
PRODUCT_COPY_FILES += \
    vendor/lineage/config/permissions/org.lineageos.globalactions.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.globalactions.xml \
    vendor/lineage/config/permissions/org.lineageos.hardware.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.hardware.xml \
    vendor/lineage/config/permissions/org.lineageos.health.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.health.xml \
    vendor/lineage/config/permissions/org.lineageos.livedisplay.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.livedisplay.xml \
    vendor/lineage/config/permissions/org.lineageos.profiles.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.profiles.xml \
    vendor/lineage/config/permissions/org.lineageos.settings.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.settings.xml \
    vendor/lineage/config/permissions/org.lineageos.trust.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.trust.xml

ifneq ($(TARGET_EXCLUDES_LINEAGE_HEALTH), true)
PRODUCT_COPY_FILES += \
    vendor/lineage/config/permissions/org.lineageos.health.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.health.xml
endif

# Lineage Platform Library
PRODUCT_PACKAGES += \
    org.lineageos.platform-res \