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: I53666ac16d6b5526b8f86021a212e00aa32a843b
This commit is contained in:
Barry 2024-03-05 09:32:42 +00:00 committed by Barry Wang
parent 22bf057262
commit 24776dbb42
2 changed files with 8 additions and 0 deletions

View file

@ -159,6 +159,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 hci_inject test tool
PRODUCT_PACKAGES_DEBUG += \
hci_inject

View file

@ -142,6 +142,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 hci_inject test tool
PRODUCT_PACKAGES_DEBUG += \
hci_inject