summaryrefslogtreecommitdiff
path: root/sdm660.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sdm660.mk')
-rw-r--r--sdm660.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/sdm660.mk b/sdm660.mk
index 4da3845..e78d4bd 100644
--- a/sdm660.mk
+++ b/sdm660.mk
@@ -28,12 +28,9 @@ PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
- $(LOCAL_PATH)/overlay-lineage \
- $(LOCAL_PATH)/overlay-system
+ $(LOCAL_PATH)/overlay-lineage
PRODUCT_ENFORCE_RRO_TARGETS := *
-PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \
- $(LOCAL_PATH)/overlay-system
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
@@ -189,6 +186,11 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
+# Component overrides
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \
+ $(LOCAL_PATH)/configs/component-overrides-qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/component-overrides.xml
+
# Display
PRODUCT_PACKAGES += \
gralloc.sdm660 \