Set default the Bluetooth class of device am: 7a061bb7f5

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21505354

Change-Id: I875852e944c20034b05b87a8a148b68ba681d2f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
More Kuo 2023-02-22 06:35:47 +00:00 committed by Automerger Merge Worker
commit b913301293

View file

@ -143,6 +143,18 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.ril.enable_set_screen_state=1
# Set the Bluetooth Class of Device
# Service Field: 0x5A -> 90
# Bit 14: LE audio
# Bit 17: Networking
# Bit 19: Capturing
# Bit 20: Object Transfer
# Bit 22: Telephony
# MAJOR_CLASS: 0x42 -> 66 (Phone)
# MINOR_CLASS: 0x0C -> 12 (Smart Phone)
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.device.class_of_device=90,66,12
# Set supported Bluetooth profiles to enabled
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.profile.asha.central.enabled=true \