From 635682a2ad192f85bf148823aa6133e7fc764c63 Mon Sep 17 00:00:00 2001 From: shihchienc Date: Thu, 19 Sep 2024 07:52:50 +0000 Subject: [PATCH] bthal: disable thread dispatcher Disable as current project not support Thread in the host. Bug: 368229266 Flag: NONE config change Test: check log Change-Id: Ie2c9b91c09a526de434a5becb717803ba8693f1a --- device-caiman.mk | 9 +++++---- device-komodo.mk | 9 +++++---- device-tokay.mk | 9 +++++---- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/device-caiman.mk b/device-caiman.mk index 7d5ac029..88f08e63 100644 --- a/device-caiman.mk +++ b/device-caiman.mk @@ -469,17 +469,18 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Window Extensions $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk) -# Connectivity Resources Overlay +# Connectivity Resources Overlay for Thread host settings PRODUCT_PACKAGES += \ ConnectivityResourcesOverlayCaimitoOverride +# Thread Dispatcher enablement in Bluetooth HAL +PRODUCT_PRODUCT_PROPERTIES += \ + persist.bluetooth.thread_dispatcher.enabled=false + #Component Override for Pixel Troubleshooting App PRODUCT_COPY_FILES += \ device/google/caimito/caiman/caiman-component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/caiman-component-overrides.xml -PRODUCT_PRODUCT_PROPERTIES += \ - persist.bluetooth.thread_dispatcher.enabled=true - # Bluetooth device id # Caiman: 0x4110 PRODUCT_PRODUCT_PROPERTIES += \ diff --git a/device-komodo.mk b/device-komodo.mk index 5fccbe12..585c7560 100644 --- a/device-komodo.mk +++ b/device-komodo.mk @@ -470,17 +470,18 @@ ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) $(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk) endif -# Connectivity Resources Overlay +# Connectivity Resources Overlay for Thread host settings PRODUCT_PACKAGES += \ ConnectivityResourcesOverlayCaimitoOverride +# Thread Dispatcher enablement in Bluetooth HAL +PRODUCT_PRODUCT_PROPERTIES += \ + persist.bluetooth.thread_dispatcher.enabled=false + #Component Override for Pixel Troubleshooting App PRODUCT_COPY_FILES += \ device/google/caimito/komodo/komodo-component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/komodo-component-overrides.xml -PRODUCT_PRODUCT_PROPERTIES += \ - persist.bluetooth.thread_dispatcher.enabled=true - # Bluetooth device id # Komodo: 0x4111 PRODUCT_PRODUCT_PROPERTIES += \ diff --git a/device-tokay.mk b/device-tokay.mk index 61187001..7e9abaa9 100644 --- a/device-tokay.mk +++ b/device-tokay.mk @@ -435,17 +435,18 @@ ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) $(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk) endif -# Connectivity Resources Overlay +# Connectivity Resources Overlay for Thread host settings PRODUCT_PACKAGES += \ ConnectivityResourcesOverlayCaimitoOverride +# Thread Dispatcher enablement in Bluetooth HAL +PRODUCT_PRODUCT_PROPERTIES += \ + persist.bluetooth.thread_dispatcher.enabled=false + #Component Override for Pixel Troubleshooting App PRODUCT_COPY_FILES += \ device/google/caimito/tokay/tokay-component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/tokay-component-overrides.xml -PRODUCT_PRODUCT_PROPERTIES += \ - persist.bluetooth.thread_dispatcher.enabled=true - # Bluetooth device id # Tokay: 0x4112 PRODUCT_PRODUCT_PROPERTIES += \