From bcf427acd65fbe13783b401cff2cc462e2ac2b90 Mon Sep 17 00:00:00 2001 From: Gaurav Sarode Date: Tue, 21 Mar 2023 13:57:11 -0700 Subject: [PATCH] Lynx: Fix configs for google_car varient Fixed screen density and bt configs for google_car target bug: 273813426 Test: Local check Change-Id: I292a071d6325121f884634d0661c8467a2635fe7 --- bluetooth/qti_default.mk | 12 ++++++------ lynx/BoardConfig.mk | 9 ++++++++- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/bluetooth/qti_default.mk b/bluetooth/qti_default.mk index 4fbe425..5158663 100644 --- a/bluetooth/qti_default.mk +++ b/bluetooth/qti_default.mk @@ -27,12 +27,12 @@ PRODUCT_PRODUCT_PROPERTIES += \ ro.bluetooth.leaudio_offload.supported=true \ persist.bluetooth.leaudio_offload.disabled=false \ ro.vendor.audio_hal.ble_use_stream_id=true \ - bluetooth.profile.bap.unicast.client.enabled=true \ - bluetooth.profile.csip.set_coordinator.enabled=true \ - bluetooth.profile.hap.client.enabled=true \ - bluetooth.profile.mcp.server.enabled=true \ - bluetooth.profile.ccp.server.enabled=true \ - bluetooth.profile.vcp.controller.enabled=true \ + bluetooth.profile.bap.unicast.client.enabled?=true \ + bluetooth.profile.csip.set_coordinator.enabled?=true \ + bluetooth.profile.hap.client.enabled?=true \ + bluetooth.profile.mcp.server.enabled?=true \ + bluetooth.profile.ccp.server.enabled?=true \ + bluetooth.profile.vcp.controller.enabled?=true \ # Bluetooth LE Audio CIS handover to SCO # Set the property only if the controller doesn't support CIS and SCO diff --git a/lynx/BoardConfig.mk b/lynx/BoardConfig.mk index b955068..ca5006a 100644 --- a/lynx/BoardConfig.mk +++ b/lynx/BoardConfig.mk @@ -13,9 +13,16 @@ # See the License for the specific language governing permissions and # limitations under the License. # + TARGET_BOARD_INFO_FILE := device/google/lynx/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := lynx -TARGET_SCREEN_DENSITY := 420 + +ifdef PHONE_CAR_BOARD_PRODUCT + include vendor/auto/embedded/products/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk +else + TARGET_SCREEN_DENSITY := 420 +endif + BOARD_USES_GENERIC_AUDIO := true USES_DEVICE_GOOGLE_LYNX := true