From abe266909ec13012f3c6be68f208496826287d08 Mon Sep 17 00:00:00 2001 From: Barry Date: Tue, 5 Mar 2024 09:13:08 +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: 328168526 Test: check system property value Change-Id: I9a48c7dd041dc87dae8f1659b3a782b71cb67ccb --- device-felix.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-felix.mk b/device-felix.mk index ad942d6..d3969fc 100644 --- a/device-felix.mk +++ b/device-felix.mk @@ -146,6 +146,10 @@ PRODUCT_PROPERTY_OVERRIDES += \ persist.bluetooth.a2dp_offload.disabled=false \ persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus +# Enable Bluetooth AutoOn feature +PRODUCT_PRODUCT_PROPERTIES += \ + bluetooth.server.automatic_turn_on=true + # Bluetooth Tx power caps PRODUCT_COPY_FILES += \ device/google/felix/bluetooth/bluetooth_power_limits_felix_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \