Differentiate COD between phone and non-phone project am: 85f961fa57
am: ad8611d13b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19801461 Change-Id: I889385c27d0acc27e962610e47216548f86f6be0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
814a23cc20
1 changed files with 13 additions and 0 deletions
13
device.mk
13
device.mk
|
@ -126,6 +126,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
persist.vendor.ril.enable_set_screen_state=1
|
persist.vendor.ril.enable_set_screen_state=1
|
||||||
|
|
||||||
# Set the Bluetooth Class of Device
|
# Set the Bluetooth Class of Device
|
||||||
|
ifneq ($(USE_TABLET_BT_COD),true)
|
||||||
# Service Field: 0x5A -> 90
|
# Service Field: 0x5A -> 90
|
||||||
# Bit 14: LE audio
|
# Bit 14: LE audio
|
||||||
# Bit 17: Networking
|
# Bit 17: Networking
|
||||||
|
@ -136,6 +137,18 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
# MINOR_CLASS: 0x0C -> 12 (Smart Phone)
|
# MINOR_CLASS: 0x0C -> 12 (Smart Phone)
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
bluetooth.device.class_of_device=90,66,12
|
bluetooth.device.class_of_device=90,66,12
|
||||||
|
else
|
||||||
|
# Service Field: 0x5A -> 90
|
||||||
|
# Bit 14: LE audio
|
||||||
|
# Bit 17: Networking
|
||||||
|
# Bit 19: Capturing
|
||||||
|
# Bit 20: Object Transfer
|
||||||
|
# Bit 22: Telephony
|
||||||
|
# MAJOR_CLASS: 0x41 -> 65 (Computer)
|
||||||
|
# MINOR_CLASS: 0x10 -> 16 (Handheld PC/PDA clamshell)
|
||||||
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
|
bluetooth.device.class_of_device=90,65,16
|
||||||
|
endif
|
||||||
|
|
||||||
# Set supported Bluetooth profiles to enabled
|
# Set supported Bluetooth profiles to enabled
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue