Set default the Bluetooth class of device am: 4a4cb90798
am: 1774db0af6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17948324 Change-Id: I790158ba11f47d1f0828fc69997f5d4e3330f486 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
6d3b7e297d
1 changed files with 11 additions and 0 deletions
11
device.mk
11
device.mk
|
@ -120,6 +120,17 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.vendor.ril.camp_on_earlier=1
|
||||
|
||||
# Set the Bluetooth Class of Device
|
||||
# Service Field: 0x5A -> 90
|
||||
# Bit 17: Networking
|
||||
# Bit 19: Capturing
|
||||
# Bit 20: Object Transfer
|
||||
# Bit 22: Telephony
|
||||
# MAJOR_CLASS: 0x02 -> 2 (Phone)
|
||||
# MINOR_CLASS: 0x0C -> 12 (Smart Phone)
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
bluetooth.device.class_of_device=90,2,12
|
||||
|
||||
# Set supported Bluetooth profiles to enabled
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
bluetooth.profile.asha.central.enabled?=true \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue