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
17SHIPPING_API_LEVEL := 34
18
19ifdef RELEASE_GOOGLE_KOMODO_RADIO_DIR
20RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_KOMODO_RADIO_DIR)
21endif
22ifdef RELEASE_GOOGLE_KOMODO_RADIOCFG_DIR
23RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_KOMODO_RADIOCFG_DIR)
24endif
25RELEASE_GOOGLE_BOOTLOADER_KOMODO_DIR ?= 24D1# Keep this for pdk TODO: b/327119000
26RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_KOMODO_DIR)
27$(call soong_config_set,caimito_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_KOMODO_DIR))
28
29ifdef RELEASE_KERNEL_KOMODO_VERSION
30TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_KOMODO_VERSION)
31else
32TARGET_LINUX_KERNEL_VERSION ?= 6.1
33endif
34
35ifdef RELEASE_KERNEL_KOMODO_DIR
36TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_KOMODO_DIR)
37TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_KOMODO_DIR)/kernel-headers
38
39ifneq ($(TARGET_BOOTS_16K),true)
40PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_KOMODO_16K_DEVELOPER_OPTION)
41endif
42
43include device/google/caimito/device-caimito-16k-common.mk
44
45else
46TARGET_KERNEL_DIR ?= device/google/caimito-kernels/6.1/24D1
47TARGET_BOARD_KERNEL_HEADERS ?= device/google/caimito-kernels/6.1/24D1/kernel-headers
48endif
49
50LOCAL_PATH := device/google/caimito
51
52ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
53    USE_UWBFIELDTESTQM := true
54endif
55ifeq ($(filter factory_komodo, $(TARGET_PRODUCT)),)
56    include device/google/caimito/komodo/uwb/uwb_calibration.mk
57endif
58
59$(call inherit-product-if-exists, vendor/google_devices/caimito/prebuilts/device-vendor-komodo.mk)
60$(call inherit-product-if-exists, vendor/google_devices/zumapro/prebuilts/device-vendor.mk)
61$(call inherit-product-if-exists, vendor/google_devices/zumapro/proprietary/device-vendor.mk)
62$(call inherit-product-if-exists, vendor/google_devices/komodo/proprietary/device-vendor.mk)
63$(call inherit-product-if-exists, vendor/google_devices/caimito/proprietary/komodo/device-vendor-komodo.mk)
64$(call inherit-product-if-exists, vendor/qorvo/uwb/qm35-hal/Device.mk)
65
66ifeq ($(filter factory_komodo, $(TARGET_PRODUCT)),)
67    $(call inherit-product-if-exists, vendor/google_devices/caimito/proprietary/WallpapersKomodo.mk)
68endif
69
70# display
71DEVICE_PACKAGE_OVERLAYS += device/google/caimito/komodo/overlay
72
73ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL),true)
74USE_AUDIO_HAL_AIDL := true
75endif
76
77include device/google/caimito/audio/komodo/audio-tables.mk
78include device/google/zumapro/device-shipping-common.mk
79include device/google/gs-common/bcmbt/bluetooth.mk
80include device/google/gs-common/touch/gti/predump_gti.mk
81include device/google/caimito/fingerprint/ultrasonic_udfps.mk
82include device/google/gs-common/modem/radio_ext/radio_ext.mk
83include device/google/gs-common/pixelsupport/pixelsupport.mk
84include device/google/gs-common/gril/hidl/1.7/gril_hidl.mk
85
86# Increment the SVN for any official public releases
87ifdef RELEASE_SVN_KOMODO
88TARGET_SVN ?= $(RELEASE_SVN_KOMODO)
89else
90# Set this for older releases that don't use build flag
91TARGET_SVN ?= 04
92endif
93
94PRODUCT_VENDOR_PROPERTIES += \
95    ro.vendor.build.svn=$(TARGET_SVN)
96
97# Set device family property for SMR
98PRODUCT_PROPERTY_OVERRIDES += \
99    ro.build.device_family=CM4KM4TK4TG4
100
101# Set build properties for SMR builds
102ifeq ($(RELEASE_IS_SMR), true)
103    ifneq (,$(RELEASE_BASE_OS_KOMODO))
104        PRODUCT_BASE_OS := $(RELEASE_BASE_OS_KOMODO)
105    endif
106endif
107
108# Set build properties for EMR builds
109ifeq ($(RELEASE_IS_EMR), true)
110    ifneq (,$(RELEASE_BASE_OS_KOMODO))
111        PRODUCT_PROPERTY_OVERRIDES += \
112        ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_KOMODO)
113    endif
114endif
115
116# go/lyric-soong-variables
117$(call soong_config_set,lyric,camera_hardware,komodo)
118$(call soong_config_set,lyric,tuning_product,komodo)
119$(call soong_config_set,google3a_config,target_device,komodo)
120
121# Display RRS default Config
122PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=1008x2244@120:120
123PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.preferred_mode=1008x2244@120:120
124
125ifeq ($(filter factory_komodo, $(TARGET_PRODUCT)),)
126    PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.xrr.version=2.1
127    PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.blocking_zone.min_refresh_rate_by_nits=:1
128    PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.vrr.expected_present.headsup_ns=30000000
129    PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.vrr.expected_present.timeout_ns=500000000
130endif
131
132PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.ignore_hdr_camera_layers=true
133
134# Display OP HZ Config
135PRODUCT_VENDOR_PROPERTIES += \
136    vendor.primarydisplay.op.hs_hz=120 \
137    vendor.primarydisplay.op.ns_hz=120
138
139# Display fixed TE2
140PRODUCT_VENDOR_PROPERTIES += vendor.primarydisplay.fixed_te2.default_rate_hz=120
141
142# Init files
143PRODUCT_COPY_FILES += \
144	device/google/caimito/conf/init.komodo.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.komodo.rc
145
146# Recovery files
147PRODUCT_COPY_FILES += \
148        device/google/caimito/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.komodo.rc
149
150# NFC
151PRODUCT_COPY_FILES += \
152	frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
153	frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
154	frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
155	frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
156	frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
157	device/google/caimito/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
158	device/google/caimito/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf
159
160PRODUCT_PACKAGES += \
161	$(RELEASE_PACKAGE_NFC_STACK) \
162	Tag \
163	android.hardware.nfc-service.st \
164	NfcOverlayKomodo
165
166# SecureElement
167PRODUCT_PACKAGES += \
168	android.hardware.secure_element-service.thales
169
170PRODUCT_COPY_FILES += \
171	frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
172	frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
173	device/google/caimito/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf
174
175# Bluetooth HAL
176PRODUCT_COPY_FILES += \
177	device/google/caimito/bluetooth/bt_vendor_overlay_komodo.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf
178PRODUCT_PROPERTY_OVERRIDES += \
179    ro.bluetooth.a2dp_offload.supported=true \
180    persist.bluetooth.a2dp_offload.disabled=false \
181    persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
182
183# Coex Config
184PRODUCT_SOONG_NAMESPACES += device/google/caimito/radio/komodo/coex
185PRODUCT_PACKAGES += \
186    camera_front_mipi_coex_table \
187    camera_rear_main_dbr_coex_table \
188    camera_rear_main_mipi_coex_table \
189    camera_rear_tele_mipi_coex_table \
190    camera_rear_wide_mipi_coex_table \
191    display_primary_mipi_coex_table \
192    display_primary_ssc_coex_table
193
194# Bluetooth Tx power caps
195PRODUCT_COPY_FILES += \
196        $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_komodo.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
197        $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_komodo_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv \
198        $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_komodo_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_CA.csv \
199        $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_komodo_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_EU.csv \
200        $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_komodo_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_US.csv
201
202# DCK properties based on target
203PRODUCT_PROPERTY_OVERRIDES += \
204    ro.gms.dck.eligible_wcc=3 \
205    ro.gms.dck.se_capability=1
206
207# POF
208PRODUCT_PRODUCT_PROPERTIES += \
209    ro.bluetooth.finder.supported=true
210
211# Spatial Audio
212PRODUCT_PACKAGES += \
213	libspatialaudio
214
215# declare use of spatial audio
216PRODUCT_PROPERTY_OVERRIDES += \
217       ro.audio.spatializer_enabled=true
218
219ifneq ($(USE_AUDIO_HAL_AIDL),true)
220# HIDL Sound Dose
221PRODUCT_PACKAGES += \
222	android.hardware.audio.sounddose-vendor-impl \
223	audio_sounddose_aoc
224endif
225
226# HdMic Audio
227PRODUCT_SOONG_NAMESPACES += device/google/caimito/audio/komodo/prebuilt/libspeechenhancer
228PRODUCT_PROPERTY_OVERRIDES += \
229    persist.vendor.app.audio.gsenet.version=1
230PRODUCT_PACKAGES += \
231    libspeechenhancer
232
233# Audio CCA property
234PRODUCT_PROPERTY_OVERRIDES += \
235	persist.vendor.audio.cca.enabled=false
236
237# Bluetooth hci_inject test tool
238PRODUCT_PACKAGES_DEBUG += \
239    hci_inject
240
241# Bluetooth OPUS codec
242PRODUCT_PRODUCT_PROPERTIES += \
243    persist.bluetooth.opus.enabled=true
244
245# Bluetooth SAR test tool
246PRODUCT_PACKAGES_DEBUG += \
247    sar_test
248
249# Bluetooth EWP test tool
250PRODUCT_PACKAGES_DEBUG += \
251    ewp_tool
252
253# Bluetooth AAC VBR
254PRODUCT_PRODUCT_PROPERTIES += \
255    persist.bluetooth.a2dp_aac.vbr_supported=true
256
257# Bluetooth Super Wide Band
258PRODUCT_PRODUCT_PROPERTIES += \
259    bluetooth.hfp.swb.supported=true
260
261# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
262ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
263PRODUCT_PRODUCT_PROPERTIES += \
264    persist.bluetooth.bqr.event_mask=295006 \
265    persist.bluetooth.bqr.vnd_quality_mask=29 \
266    persist.bluetooth.bqr.vnd_trace_mask=0 \
267    persist.bluetooth.vendor.btsnoop=true
268else
269PRODUCT_PRODUCT_PROPERTIES += \
270    persist.bluetooth.bqr.event_mask=295006 \
271    persist.bluetooth.bqr.vnd_quality_mask=16 \
272    persist.bluetooth.bqr.vnd_trace_mask=0 \
273    persist.bluetooth.vendor.btsnoop=false
274endif
275
276# default BDADDR for EVB only
277PRODUCT_PROPERTY_OVERRIDES += \
278	ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
279
280# Spatial Audio
281PRODUCT_PACKAGES += \
282	libspatialaudio \
283	librondo
284
285# Keymaster HAL
286#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= [email protected]
287
288# Gatekeeper HAL
289#LOCAL_GATEKEEPER_PRODUCT_PACKAGE ?= [email protected]
290
291
292# Gatekeeper
293# PRODUCT_PACKAGES += \
294# 	[email protected]
295
296# Keymint replaces Keymaster
297# PRODUCT_PACKAGES += \
298# 	android.hardware.security.keymint-service
299
300# Keymaster
301#PRODUCT_PACKAGES += \
302#	[email protected] \
303#	[email protected]
304
305#PRODUCT_PACKAGES += [email protected]
306#PRODUCT_PACKAGES += [email protected]
307#LOCAL_KEYMASTER_PRODUCT_PACKAGE := [email protected]
308#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= [email protected]
309
310# PRODUCT_PROPERTY_OVERRIDES += \
311# 	ro.hardware.keystore_desede=true \
312# 	ro.hardware.keystore=software \
313# 	ro.hardware.gatekeeper=software
314
315# PowerStats HAL
316PRODUCT_SOONG_NAMESPACES += \
317    device/google/caimito/powerstats/komodo
318
319# UWB Overlay
320PRODUCT_PACKAGES += \
321    UwbOverlayKM4
322
323# WiFi Overlay
324PRODUCT_PACKAGES += \
325    WifiOverlay2024
326
327# Settings Overlay
328PRODUCT_PACKAGES += \
329    SettingsKomodoOverlay
330
331# Trusty liboemcrypto.so
332PRODUCT_SOONG_NAMESPACES += vendor/google_devices/caimito/prebuilts
333
334# UWB
335PRODUCT_SOONG_NAMESPACES += \
336    device/google/caimito/komodo/uwb
337
338# Location
339PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/komodo
340$(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT))
341PRODUCT_PACKAGES += gps.cfg
342# For GPS property
343PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true
344
345# Display LBE
346PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
347
348# Display ACL
349PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.0.brightness.acl.default=1
350
351#Thermal VT estimator
352PRODUCT_PACKAGES += \
353    libthermal_tflite_wrapper
354
355PRODUCT_VENDOR_PROPERTIES += \
356	persist.device_config.configuration.disable_rescue_party=true
357
358PRODUCT_VENDOR_PROPERTIES += \
359    persist.vendor.udfps.als_feed_forward_supported=true \
360    persist.vendor.udfps.lhbm_controlled_in_hal_supported=true
361
362# OIS with system imu
363PRODUCT_VENDOR_PROPERTIES += \
364    persist.vendor.camera.ois_with_system_imu=true
365
366# Allow external binning setting
367PRODUCT_VENDOR_PROPERTIES += \
368    persist.vendor.camera.allow_external_binning_setting=true
369
370# Camera Vendor property
371PRODUCT_VENDOR_PROPERTIES += \
372    persist.vendor.camera.front_720P_always_binning=true
373
374# Enable camera exif model/make reporting
375PRODUCT_VENDOR_PROPERTIES += \
376    persist.vendor.camera.exif_reveal_make_model=true
377
378# Media Performance Class 15
379PRODUCT_PRODUCT_PROPERTIES += ro.odm.build.media_performance_class=35
380
381# Vibrator HAL
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.222 \
388    ro.vendor.vibrator.hal.loc.coeff=2.8 \
389    persist.vendor.vibrator.hal.context.enable=false \
390    persist.vendor.vibrator.hal.context.scale=60 \
391    persist.vendor.vibrator.hal.context.fade=true \
392    persist.vendor.vibrator.hal.context.cooldowntime=1600 \
393    persist.vendor.vibrator.hal.context.settlingtime=5000 \
394    ro.vendor.vibrator.hal.pm.activetimeout=5
395
396# Override Output Distortion Gain
397PRODUCT_VENDOR_PROPERTIES += \
398    vendor.audio.hapticgenerator.distortion.output.gain=0.48
399
400# PKVM Memory Reclaim
401PRODUCT_VENDOR_PROPERTIES += \
402    hypervisor.memory_reclaim.supported=1
403
404# Bluetooth LE Audio
405# Unicast
406PRODUCT_PRODUCT_PROPERTIES += \
407	bluetooth.profile.bap.unicast.client.enabled=true \
408	bluetooth.profile.csip.set_coordinator.enabled=true \
409	bluetooth.profile.hap.client.enabled=true \
410	bluetooth.profile.mcp.server.enabled=true \
411	bluetooth.profile.ccp.server.enabled=true \
412	bluetooth.profile.vcp.controller.enabled=true
413
414# Bluetooth LE Audio Broadcast
415PRODUCT_PRODUCT_PROPERTIES += \
416	bluetooth.profile.bap.broadcast.assist.enabled=true \
417	bluetooth.profile.bap.broadcast.source.enabled=true
418
419# LE Audio switcher in developer options
420PRODUCT_PRODUCT_PROPERTIES += \
421	ro.bluetooth.leaudio_switcher.supported=true \
422
423# Enable hardware offloading
424PRODUCT_PRODUCT_PROPERTIES += \
425	ro.bluetooth.leaudio_offload.supported=true \
426	persist.bluetooth.leaudio_offload.disabled=false
427
428# Bluetooth LE Audio CIS handover to SCO
429# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
430PRODUCT_PRODUCT_PROPERTIES += \
431	persist.bluetooth.leaudio.notify.idle.during.call=true
432
433# LE Audio Offload Capabilities setting
434PRODUCT_COPY_FILES += \
435    device/google/caimito/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
436
437# Disable LE Audio dual mic SWB call support
438# This may depend on the BT controller capability or the launch strategy
439# For example, P22 BT chip is not able to support 32k dual mic
440# P23a disabled the 32k dual mic as it is not in the phase 2 launch plan
441PRODUCT_PRODUCT_PROPERTIES += \
442    bluetooth.leaudio.dual_bidirection_swb.supported=true
443
444# LE Audio Unicast Allowlist
445PRODUCT_PRODUCT_PROPERTIES += \
446   persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5,SM-R630
447
448# Support LE & Classic concurrent encryption (b/330704060)
449PRODUCT_PRODUCT_PROPERTIES += \
450    bluetooth.ble.allow_enc_with_bredr=true
451
452# Exynos RIL and telephony
453# Support RIL Domain-selection
454SUPPORT_RIL_DOMAIN_SELECTION := true
455
456SUPPORT_VENDOR_SATELLITE_SERVICE := true
457
458# Support NTN(satellite) with dual SIM
459NTN_DUAL_SIM := true
460
461# Set support one-handed mode
462PRODUCT_PRODUCT_PROPERTIES += \
463    ro.support_one_handed_mode=true
464
465# Keyboard height ratio and bottom padding in dp for portrait mode
466PRODUCT_PRODUCT_PROPERTIES += \
467          ro.com.google.ime.kb_pad_port_b=9.6 \
468          ro.com.google.ime.height_ratio=1.13
469
470# Enable Bluetooth AutoOn feature
471PRODUCT_PRODUCT_PROPERTIES += \
472    bluetooth.server.automatic_turn_on=true
473
474# Window Extensions
475$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
476
477# ETM
478ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
479$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
480endif
481
482# Connectivity Resources Overlay for Thread host settings
483PRODUCT_PACKAGES += \
484    ConnectivityResourcesOverlayCaimitoOverride
485
486# Thread Dispatcher enablement in Bluetooth HAL
487PRODUCT_PRODUCT_PROPERTIES += \
488    persist.bluetooth.thread_dispatcher.enabled=false
489
490#Component Override for Pixel Troubleshooting App
491PRODUCT_COPY_FILES += \
492    device/google/caimito/komodo/komodo-component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/komodo-component-overrides.xml
493
494# Bluetooth device id
495# Komodo: 0x4111
496PRODUCT_PRODUCT_PROPERTIES += \
497    bluetooth.device_id.product_id=16657
498
499# Set support for LEA multicodec
500PRODUCT_PRODUCT_PROPERTIES += \
501    bluetooth.core.le_audio.codec_extension_aidl.enabled=true
502
503# LE Audio configuration scenarios
504PRODUCT_COPY_FILES += \
505    device/google/caimito/bluetooth/audio_set_scenarios.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_scenarios.json
506
507PRODUCT_COPY_FILES += \
508    device/google/caimito/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json
509
510# Enable APF by default
511PRODUCT_VENDOR_PROPERTIES += \
512    vendor.powerhal.apf_disabled=false \
513    vendor.powerhal.apf_enabled=true
514