From e9baf25dd19a982c80fb90b8a6b1c8fddb955022 Mon Sep 17 00:00:00 2001 From: Koli Lin Date: Tue, 5 Mar 2024 08:27:10 +0000 Subject: [PATCH] BT: set system property for Bluetooth Auto On Set bluetooth.server.automatic_turn_on true for Bluetooth Auto On feature. The feature will be enabled with both system property and flag set. Bug: 328169534 Test: check system property value Change-Id: I474d0d262a0e8b5a4f13698676344e581d61980a --- device-caiman.mk | 4 ++++ device-komodo.mk | 4 ++++ device-tokay.mk | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/device-caiman.mk b/device-caiman.mk index 1aaf2191..5028ccb7 100644 --- a/device-caiman.mk +++ b/device-caiman.mk @@ -384,3 +384,7 @@ PRODUCT_PACKAGES += \ ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) $(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk) endif + +# Enable Bluetooth AutoOn feature +PRODUCT_PRODUCT_PROPERTIES += \ + bluetooth.server.automatic_turn_on=true diff --git a/device-komodo.mk b/device-komodo.mk index 94ee6311..32662625 100644 --- a/device-komodo.mk +++ b/device-komodo.mk @@ -380,3 +380,7 @@ PRODUCT_PACKAGES += \ PRODUCT_PRODUCT_PROPERTIES += \ ro.com.google.ime.kb_pad_port_b=9.6 \ ro.com.google.ime.height_ratio=1.13 + +# Enable Bluetooth AutoOn feature +PRODUCT_PRODUCT_PROPERTIES += \ + bluetooth.server.automatic_turn_on=true diff --git a/device-tokay.mk b/device-tokay.mk index 704b807c..cbccdd76 100644 --- a/device-tokay.mk +++ b/device-tokay.mk @@ -350,3 +350,7 @@ PRODUCT_PACKAGES += \ PRODUCT_PRODUCT_PROPERTIES += \ ro.com.google.ime.kb_pad_port_b=8 \ ro.com.google.ime.height_ratio=1.09 + +# Enable Bluetooth AutoOn feature +PRODUCT_PRODUCT_PROPERTIES += \ + bluetooth.server.automatic_turn_on=true