diff --git a/overlay/packages/apps/Bluetooth/res/values/config.xml b/configs/component-overrides.xml similarity index 73% rename from overlay/packages/apps/Bluetooth/res/values/config.xml rename to configs/component-overrides.xml index 9b1b241..bb3419d 100644 --- a/overlay/packages/apps/Bluetooth/res/values/config.xml +++ b/configs/component-overrides.xml @@ -1,5 +1,5 @@ - - - true - + + + + + \ No newline at end of file diff --git a/device.mk b/device.mk index 11eb839..5ce6b27 100644 --- a/device.mk +++ b/device.mk @@ -92,6 +92,9 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml # Bluetooth +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml + PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml