1# 2# Copyright (C) 2021 The Android Open-Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17ifdef RELEASE_GOOGLE_COMET_RADIO_DIR 18RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_COMET_RADIO_DIR) 19endif 20ifdef RELEASE_GOOGLE_COMET_RADIOCFG_DIR 21RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_COMET_RADIOCFG_DIR) 22endif 23RELEASE_GOOGLE_BOOTLOADER_COMET_DIR ?= 24D1# Keep this for pdk TODO: b/327119000 24RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_COMET_DIR) 25$(call soong_config_set,comet_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_COMET_DIR)) 26 27TARGET_LINUX_KERNEL_VERSION ?= 6.1 28ifdef RELEASE_KERNEL_COMET_DIR 29TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_COMET_DIR) 30TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_COMET_DIR)/kernel-headers 31else 32TARGET_KERNEL_DIR ?= device/google/comet-kernels/6.1/24D1 33TARGET_BOARD_KERNEL_HEADERS ?= device/google/comet-kernels/6.1/24D1/kernel-headers 34endif 35 36TARGET_RECOVERY_DEFAULT_ROTATION := ROTATION_RIGHT 37 38LOCAL_PATH := device/google/comet 39 40ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 41 USE_UWBFIELDTESTQM := true 42endif 43ifeq ($(filter factory_comet, $(TARGET_PRODUCT)),) 44 include device/google/comet/uwb/uwb_calibration.mk 45endif 46 47$(call inherit-product-if-exists, vendor/google_devices/comet/prebuilts/device-vendor-comet.mk) 48$(call inherit-product-if-exists, vendor/google_devices/zumapro/prebuilts/device-vendor.mk) 49$(call inherit-product-if-exists, vendor/google_devices/zumapro/proprietary/device-vendor.mk) 50$(call inherit-product-if-exists, vendor/google_devices/comet/proprietary/device-vendor.mk) 51$(call inherit-product-if-exists, vendor/google_devices/comet/proprietary/comet/device-vendor-comet.mk) 52$(call inherit-product-if-exists, vendor/qorvo/uwb/qm35-hal/Device.mk) 53 54ifeq ($(filter factory_comet, $(TARGET_PRODUCT)),) 55 $(call inherit-product-if-exists, vendor/google_devices/comet/proprietary/WallpapersComet.mk) 56endif 57 58DEVICE_PACKAGE_OVERLAYS += device/google/comet/comet/overlay 59 60ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL),true) 61USE_AUDIO_HAL_AIDL := true 62endif 63 64include device/google/comet/audio/comet/audio-tables.mk 65include device/google/zumapro/device-shipping-common.mk 66include hardware/google/pixel/vibrator/cs40l26/device.mk 67include device/google/gs-common/bcmbt/bluetooth.mk 68include device/google/gs-common/touch/gti/predump_gti_dual.mk 69include device/google/gs-common/display/dump_second_display.mk 70 71# Increment the SVN for any official public releases 72ifdef RELEASE_SVN_COMET 73TARGET_SVN ?= $(RELEASE_SVN_COMET) 74else 75# Set this for older releases that don't use build flag 76TARGET_SVN ?= 04 77endif 78 79PRODUCT_VENDOR_PROPERTIES += \ 80 ro.vendor.build.svn=$(TARGET_SVN) 81 82# go/lyric-soong-variables 83$(call soong_config_set,lyric,camera_hardware,comet) 84$(call soong_config_set,lyric,tuning_product,comet) 85$(call soong_config_set,google3a_config,target_device,comet) 86 87PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.ignore_hdr_camera_layers=true 88 89# Init files 90PRODUCT_COPY_FILES += \ 91 device/google/comet/conf/init.comet.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.comet.rc 92 93# Recovery files 94PRODUCT_COPY_FILES += \ 95 device/google/comet/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.comet.rc 96 97# Display brightness curve 98PRODUCT_COPY_FILES += \ 99 device/google/comet/comet/panel_config_google-ct3a_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-ct3a_cal0.pb \ 100 device/google/comet/comet/panel_config_google-ct3b_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-ct3b_cal0.pb \ 101 device/google/comet/comet/panel_config_google-ct3c_cal1.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-ct3c_cal1.pb \ 102 device/google/comet/comet/panel_config_google-ct3d_cal1.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-ct3d_cal1.pb \ 103 device/google/comet/comet/panel_config_google-ct3e_cal1.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-ct3e_cal1.pb 104 105ifeq ($(filter factory_comet, $(TARGET_PRODUCT)),) 106PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.xrr.version=2.1 107PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.blocking_zone.min_refresh_rate_by_nits=20:120,30:60,:1 108PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.vrr.expected_present.headsup_ns=30000000 109PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.vrr.expected_present.timeout_ns=500000000 110endif 111 112PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.powerstats.entity_name=Inner-Display 113 114PRODUCT_VENDOR_PROPERTIES += \ 115 vendor.primarydisplay.op.hs_hz=120 \ 116 vendor.primarydisplay.op.ns_hz=120 117 118PRODUCT_PROPERTY_OVERRIDES += \ 119 vendor.camera.debug.enable_software_post_sharpen_node=false 120 121# Display Config 122PRODUCT_COPY_FILES += \ 123 device/google/comet/display/display_colordata_cal1.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_cal1.pb 124PRODUCT_PROPERTY_OVERRIDES += \ 125 vendor.display.png.premultiplied=true 126 127# Coex Config 128PRODUCT_SOONG_NAMESPACES += device/google/comet/radio/coex 129PRODUCT_PACKAGES += \ 130 display_secondary_mipi_coex_table \ 131 camera_front_inner_mipi_coex_table \ 132 camera_front_outer_mipi_coex_table \ 133 camera_rear_tele_mipi_coex_table \ 134 camera_rear_wide_mipi_coex_table 135 136# NFC 137PRODUCT_COPY_FILES += \ 138 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ 139 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ 140 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ 141 frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \ 142 frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \ 143 device/google/comet/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \ 144 device/google/comet/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf 145 146PRODUCT_PACKAGES += \ 147 $(RELEASE_PACKAGE_NFC_STACK) \ 148 Tag \ 149 android.hardware.nfc-service.st \ 150 NfcOverlayComet 151 152# SecureElement 153PRODUCT_PACKAGES += \ 154 android.hardware.secure_element-service.thales 155 156PRODUCT_COPY_FILES += \ 157 frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \ 158 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \ 159 device/google/comet/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf 160 161#Thermal VT estimator 162PRODUCT_PACKAGES += \ 163 libthermal_tflite_wrapper 164 165# Thermal Config 166ifeq (,$(TARGET_VENDOR_THERMAL_CONFIG_PATH)) 167TARGET_VENDOR_THERMAL_CONFIG_PATH := device/google/comet/thermal 168endif 169 170PRODUCT_COPY_FILES += \ 171 $(TARGET_VENDOR_THERMAL_CONFIG_PATH)/thermal_info_config_charge_comet.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_charge.json \ 172 $(TARGET_VENDOR_THERMAL_CONFIG_PATH)/thermal_info_config_comet.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \ 173 $(TARGET_VENDOR_THERMAL_CONFIG_PATH)/thermal_info_config_backup_comet.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_backup.json \ 174 $(TARGET_VENDOR_THERMAL_CONFIG_PATH)/vt_estimation_model_comet.tflite:$(TARGET_COPY_OUT_VENDOR)/etc/vt_estimation_model.tflite \ 175 $(TARGET_VENDOR_THERMAL_CONFIG_PATH)/vt_speaker_estimation_model_comet.tflite:$(TARGET_COPY_OUT_VENDOR)/etc/vt_speaker_estimation_model.tflite \ 176 177ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 178 PRODUCT_COPY_FILES += \ 179 $(TARGET_VENDOR_THERMAL_CONFIG_PATH)/thermal_info_config_comet_wingboard.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_wingboard.json 180endif 181 182PRODUCT_PACKAGES += \ 183 init_thermal_config 184 185# Power HAL config 186PRODUCT_COPY_FILES += \ 187 device/google/comet/powerhint-comet.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json 188 189# Bluetooth HAL 190PRODUCT_COPY_FILES += \ 191 device/google/comet/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf 192PRODUCT_PROPERTY_OVERRIDES += \ 193 ro.bluetooth.a2dp_offload.supported=true \ 194 persist.bluetooth.a2dp_offload.disabled=false \ 195 persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac 196 197# Bluetooth Tx power caps 198PRODUCT_COPY_FILES += \ 199 $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_comet.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \ 200 $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_comet_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv \ 201 $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_comet_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_CA.csv \ 202 $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_comet_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_EU.csv \ 203 $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_comet_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_US.csv 204 205# DCK properties based on target 206PRODUCT_PROPERTY_OVERRIDES += \ 207 ro.gms.dck.eligible_wcc=3 \ 208 ro.gms.dck.se_capability=1 209 210# Bluetooth hci_inject test tool 211PRODUCT_PACKAGES_DEBUG += \ 212 hci_inject 213 214# Bluetooth SAR test tool 215PRODUCT_PACKAGES_DEBUG += \ 216 sar_test 217 218# Bluetooth EWP test tool 219PRODUCT_PACKAGES_DEBUG += \ 220 ewp_tool 221 222# Bluetotoh Auto On feature 223PRODUCT_PRODUCT_PROPERTIES +=\ 224 bluetooth.server.automatic_turn_on=true 225 226# Bluetooth AAC VBR 227PRODUCT_PRODUCT_PROPERTIES += \ 228 persist.bluetooth.a2dp_aac.vbr_supported=true 229 230# Bluetooth Super Wide Band 231PRODUCT_PRODUCT_PROPERTIES += \ 232 bluetooth.hfp.swb.supported=true 233 234# Support LE & Classic concurrent encryption (b/330704060) 235PRODUCT_PRODUCT_PROPERTIES += \ 236 bluetooth.ble.allow_enc_with_bredr=true 237 238# POF 239PRODUCT_PRODUCT_PROPERTIES += \ 240 ro.bluetooth.finder.supported=true 241 242# Spatial Audio 243PRODUCT_PACKAGES += \ 244 libspatialaudio \ 245 librondo 246 247# declare use of spatial audio 248PRODUCT_PROPERTY_OVERRIDES += \ 249 ro.audio.spatializer_enabled=true \ 250 ro.audio.spatializer_transaural_enabled_default=false \ 251 persist.vendor.audio.spatializer.speaker_enabled=true 252 253# declare use of stereo spatialization 254PRODUCT_PROPERTY_OVERRIDES += \ 255 ro.audio.stereo_spatialization_enabled=true 256 257ifneq ($(USE_AUDIO_HAL_AIDL),true) 258# HIDL Sound Dose 259PRODUCT_PACKAGES += \ 260 android.hardware.audio.sounddose-vendor-impl \ 261 audio_sounddose_aoc 262endif 263 264# Audio CCA property 265PRODUCT_PROPERTY_OVERRIDES += \ 266 persist.vendor.audio.cca.enabled=false 267 268# HdMic Audio 269PRODUCT_SOONG_NAMESPACES += device/google/comet/audio/comet/prebuilt/libspeechenhancer 270PRODUCT_PROPERTY_OVERRIDES += \ 271 persist.vendor.app.audio.gsenet.version=1 272PRODUCT_PACKAGES += \ 273 libspeechenhancer 274 275# Keymaster HAL 276#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service 277 278# Gatekeeper HAL 279#LOCAL_GATEKEEPER_PRODUCT_PACKAGE ?= android.hardware.gatekeeper@1.0-service.software 280 281 282# Gatekeeper 283# PRODUCT_PACKAGES += \ 284# android.hardware.gatekeeper@1.0-service.software 285 286# Keymint replaces Keymaster 287# PRODUCT_PACKAGES += \ 288# android.hardware.security.keymint-service 289 290# Keymaster 291#PRODUCT_PACKAGES += \ 292# android.hardware.keymaster@4.0-impl \ 293# android.hardware.keymaster@4.0-service 294 295#PRODUCT_PACKAGES += android.hardware.keymaster@4.0-service.remote 296#PRODUCT_PACKAGES += android.hardware.keymaster@4.1-service.remote 297#LOCAL_KEYMASTER_PRODUCT_PACKAGE := android.hardware.keymaster@4.1-service 298#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service 299 300# PRODUCT_PROPERTY_OVERRIDES += \ 301# ro.hardware.keystore_desede=true \ 302# ro.hardware.keystore=software \ 303# ro.hardware.gatekeeper=software 304 305# PowerStats HAL 306PRODUCT_SOONG_NAMESPACES += \ 307 device/google/comet/powerstats/comet 308 309# WiFi Overlay 310PRODUCT_PACKAGES += \ 311 WifiOverlay2024Mid_CT3 \ 312 PixelWifiOverlay2024 313 314# GRil Overlay 315PRODUCT_PACKAGES += \ 316 GRilServiceOverlay_CT3 317 318# Settings Overlay 319PRODUCT_PACKAGES += \ 320 SettingsCometOverlay 321 322# Graphics 323PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.set_idle_timer_ms_4619827677550801152=80 324PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.support_kernel_idle_timer_4619827677550801152=true 325PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.set_idle_timer_ms_4619827677550801153=1000 326PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.support_kernel_idle_timer_4619827677550801153=false 327 328# Trusty liboemcrypto.so 329PRODUCT_SOONG_NAMESPACES += vendor/google_devices/comet/prebuilts 330 331# UWB 332PRODUCT_SOONG_NAMESPACES += \ 333 device/google/comet/uwb 334 335# Location 336PRODUCT_SOONG_NAMESPACES += device/google/comet/location 337# For GPS property 338PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true 339$(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) 340PRODUCT_PACKAGES += gps.cfg 341 342# Display 343PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 344 vendor.display.lbe.supported=1 \ 345 vendor.display.async_off.supported=true 346 347# Install product specific framework compatibility matrix 348DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/comet/device_framework_matrix_product.xml 349 350 351PRODUCT_VENDOR_PROPERTIES += \ 352 persist.device_config.configuration.disable_rescue_party=true 353 354PRODUCT_VENDOR_PROPERTIES += \ 355 persist.vendor.udfps.als_feed_forward_supported=true \ 356 persist.vendor.udfps.lhbm_controlled_in_hal_supported=true 357 358# Allow external binning setting 359PRODUCT_VENDOR_PROPERTIES += \ 360 persist.vendor.camera.allow_external_binning_setting=true 361 362# Camera Vendor property 363PRODUCT_VENDOR_PROPERTIES += \ 364 persist.vendor.camera.front_720P_always_binning=true 365 366# Enable camera exif model/make reporting 367PRODUCT_VENDOR_PROPERTIES += \ 368 persist.vendor.camera.exif_reveal_make_model=true 369 370# Media Performance Class 14 371PRODUCT_PRODUCT_PROPERTIES += ro.odm.build.media_performance_class=34 372 373# OIS with system imu 374PRODUCT_VENDOR_PROPERTIES += \ 375 persist.vendor.camera.ois_with_system_imu=true 376 377# Haptics 378# Placeholders for updates later, need to update: 379# remove ro.vendor.vibrator.hal.dbc.enable (needed for setting pm.activetimeout) 380# remove pm.activetimeout 381# ro.vendor.vibrator.hal.loc.coeff.folded currently unused 382$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION))) 383ACTUATOR_MODEL := luxshare_ict_081545 384ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1 385PRODUCT_VENDOR_PROPERTIES += \ 386 ro.vendor.vibrator.hal.chirp.enabled=1 \ 387 ro.vendor.vibrator.hal.device.mass=0.2605 \ 388 ro.vendor.vibrator.hal.loc.coeff.folded=3.15 \ 389 ro.vendor.vibrator.hal.loc.coeff=2.58 \ 390 ro.vendor.vibrator.hal.dbc.enable=1 \ 391 ro.vendor.vibrator.hal.pm.activetimeout=5 \ 392 persist.vendor.vibrator.hal.context.enable=false \ 393 persist.vendor.vibrator.hal.context.scale=60 \ 394 persist.vendor.vibrator.hal.context.fade=true \ 395 persist.vendor.vibrator.hal.context.cooldowntime=1600 \ 396 persist.vendor.vibrator.hal.context.settlingtime=5000 397 398# Hinge angle sensor 399PRODUCT_COPY_FILES += \ 400 frameworks/native/data/etc/android.hardware.sensor.hinge_angle.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hinge_angle.xml 401 402# Keyboard height ratio and bottom padding in dp for portrait mode 403PRODUCT_PRODUCT_PROPERTIES += \ 404 ro.com.google.ime.kb_pad_port_b=11.2 \ 405 ro.com.google.ime.height_ratio=1.18 406 407 408# Bluetooth LE Audio 409# Unicast 410PRODUCT_PRODUCT_PROPERTIES += \ 411 bluetooth.profile.bap.unicast.client.enabled=true \ 412 bluetooth.profile.csip.set_coordinator.enabled=true \ 413 bluetooth.profile.hap.client.enabled=true \ 414 bluetooth.profile.mcp.server.enabled=true \ 415 bluetooth.profile.ccp.server.enabled=true \ 416 bluetooth.profile.vcp.controller.enabled=true 417 418ifeq ($(RELEASE_PIXEL_BROADCAST_ENABLED), true) 419PRODUCT_PRODUCT_PROPERTIES += \ 420 bluetooth.profile.bap.broadcast.assist.enabled=true \ 421 bluetooth.profile.bap.broadcast.source.enabled=true 422endif 423 424# LE Audio switcher in developer options 425PRODUCT_PRODUCT_PROPERTIES += \ 426 ro.bluetooth.leaudio_switcher.supported=true \ 427 428# Enable hardware offloading 429PRODUCT_PRODUCT_PROPERTIES += \ 430 ro.bluetooth.leaudio_offload.supported=true \ 431 persist.bluetooth.leaudio_offload.disabled=false 432 433# Bluetooth LE Audio CIS handover to SCO 434# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in 435# b/242908683. 436PRODUCT_PRODUCT_PROPERTIES += \ 437 persist.bluetooth.leaudio.notify.idle.during.call=true 438 439# LE Audio Offload Capabilities setting 440PRODUCT_COPY_FILES += \ 441 device/google/caimito/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml 442 443# Disable LE Audio dual mic SWB call support 444# This may depend on the BT controller capability or the launch strategy 445# For example, P22 BT chip is not able to support 32k dual mic 446# P23a disabled the 32k dual mic as it is not in the phase 2 launch plan 447PRODUCT_PRODUCT_PROPERTIES += \ 448 bluetooth.leaudio.dual_bidirection_swb.supported=true 449 450# LE Audio Unicast Allowlist 451PRODUCT_PRODUCT_PROPERTIES += \ 452 persist.bluetooth.leaudio.allow_list=SM-R510 453 454# Telephony Satellite Feature 455PRODUCT_COPY_FILES += \ 456 frameworks/native/data/etc/android.hardware.telephony.satellite.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.satellite.xml 457 458# Battery Mitigation Config 459ifeq (,$(TARGET_VENDOR_BATTERY_MITIGATION_CONFIG_PATH)) 460TARGET_VENDOR_BATTERY_MITIGATION_CONFIG_PATH := device/google/comet/battery_mitigation 461endif 462 463PRODUCT_COPY_FILES += \ 464 $(TARGET_VENDOR_BATTERY_MITIGATION_CONFIG_PATH)/bm_config_comet.json:$(TARGET_COPY_OUT_VENDOR)/etc/bm_config.json 465 466# Exynos RIL and telephony 467# Support RIL Domain-selection 468SUPPORT_RIL_DOMAIN_SELECTION := true 469 470# ETM 471ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 472$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk) 473endif 474 475# Connectivity Resources Overlay 476PRODUCT_PACKAGES += \ 477 ConnectivityResourcesOverlayCometOverride 478 479PRODUCT_PRODUCT_PROPERTIES += \ 480 persist.bluetooth.thread_dispatcher.enabled=true 481 482# Camera concurrent foldable dual front feature support 483PRODUCT_PACKAGES += \ 484 concurrent_foldable_dual_front_xml 485