diff --git a/common.mk b/common.mk index 1bfa56d..ef83bfe 100644 --- a/common.mk +++ b/common.mk @@ -67,6 +67,10 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml +# Component override +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml + # FM PRODUCT_PACKAGES += \ FM2 \ @@ -261,14 +265,12 @@ PRODUCT_COPY_FILES += \ # 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-lineage/lineage-sdk \ - $(LOCAL_PATH)/overlay-lineage/packages/apps/Snap \ - $(LOCAL_PATH)/overlay-system + $(LOCAL_PATH)/overlay-lineage/packages/apps/Snap # Partitions PRODUCT_USE_DYNAMIC_PARTITIONS := true diff --git a/configs/component-overrides.xml b/configs/component-overrides.xml new file mode 100644 index 0000000..482c754 --- /dev/null +++ b/configs/component-overrides.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + diff --git a/overlay-system/vendor/qcom/opensource/commonsys/packages/apps/Bluetooth/res/values/config.xml b/overlay-system/vendor/qcom/opensource/commonsys/packages/apps/Bluetooth/res/values/config.xml deleted file mode 100644 index 208c78c..0000000 --- a/overlay-system/vendor/qcom/opensource/commonsys/packages/apps/Bluetooth/res/values/config.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - true - true - false - false - false - diff --git a/overlay/vendor/qcom/opensource/commonsys/packages/apps/Bluetooth/res/values/config.xml b/overlay/vendor/qcom/opensource/commonsys/packages/apps/Bluetooth/res/values/config.xml deleted file mode 100644 index 2cdd2fc..0000000 --- a/overlay/vendor/qcom/opensource/commonsys/packages/apps/Bluetooth/res/values/config.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - true - false -