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
17# Restrict the visibility of Android.bp files to improve build analysis time
18$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
19
20TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_HUSKY_VERSION)
21# Keeps flexibility for kasan and ufs builds
22TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_HUSKY_DIR)
23TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_HUSKY_DIR)/kernel-headers
24
25LOCAL_PATH := device/google/shusky
26
27ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
28    USE_UWBFIELDTESTQM := true
29endif
30ifeq ($(filter factory_husky, $(TARGET_PRODUCT)),)
31    include device/google/shusky/uwb/uwb_calibration.mk
32endif
33
34DEVICE_PAGE_AGNOSTIC ?= $(if $(filter %_pgagnostic,$(TARGET_PRODUCT)),true,false)
35
36ifeq ($(DEVICE_PAGE_AGNOSTIC),true)
37TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4
38TARGET_KERNEL_DIR := $(RELEASE_KERNEL_HUSKY_DIR)/16kb
39TARGET_RW_FILE_SYSTEM_TYPE := ext4
40else
41PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_HUSKY_16K_DEVELOPER_OPTION)
42endif
43
44$(call inherit-product-if-exists, vendor/google_devices/shusky/prebuilts/device-vendor-husky.mk)
45$(call inherit-product-if-exists, vendor/google_devices/zuma/prebuilts/device-vendor.mk)
46$(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/device-vendor.mk)
47$(call inherit-product-if-exists, vendor/google_devices/shusky/proprietary/husky/device-vendor-husky.mk)
48$(call inherit-product-if-exists, vendor/google_devices/husky/proprietary/device-vendor.mk)
49$(call inherit-product-if-exists, vendor/qorvo/uwb/qm35-hal/Device.mk)
50$(call inherit-product-if-exists, vendor/google_devices/shusky/proprietary/WallpapersHusky.mk)
51
52# display
53DEVICE_PACKAGE_OVERLAYS += device/google/shusky/husky/overlay
54PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.ignore_hdr_camera_layers=true
55
56PRODUCT_COPY_FILES += \
57	device/google/shusky/husky/display_colordata_dev_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_dev_cal0.pb \
58    device/google/shusky/husky/display_golden_google-hk3_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_google-hk3_cal0.pb \
59    device/google/shusky/display_golden_external_display_cal2.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_external_display_cal2.pb
60
61CAMERA_PRODUCT ?= husky
62
63ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL_ZUMA),true)
64USE_AUDIO_HAL_AIDL := true
65endif
66
67include device/google/shusky/camera/camera.mk
68include device/google/shusky/audio/husky/audio-tables.mk
69include device/google/zuma/device-shipping-common.mk
70include hardware/google/pixel/vibrator/cs40l26/device.mk
71include device/google/gs-common/bcmbt/bluetooth.mk
72include device/google/gs-common/touch/stm/stm20.mk
73include device/google/gs-common/touch/gti/gti.mk
74include device/google/gs-common/touch/touchinspector/touchinspector.mk
75
76# Init files
77PRODUCT_COPY_FILES += \
78	device/google/shusky/conf/init.husky.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.husky.rc
79
80# Recovery files
81PRODUCT_COPY_FILES += \
82        device/google/shusky/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.husky.rc
83
84# MIPI Coex Configs
85PRODUCT_COPY_FILES += \
86        device/google/shusky/husky/radio/husky_camera_front_dbr_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_front_dbr_coex_table.csv \
87        device/google/shusky/husky/radio/husky_camera_front_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_front_mipi_coex_table.csv \
88        device/google/shusky/husky/radio/husky_camera_rear_tele_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_rear_tele_mipi_coex_table.csv \
89        device/google/shusky/husky/radio/husky_display_primary_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_mipi_coex_table.csv
90
91# NFC
92PRODUCT_COPY_FILES += \
93	frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
94	frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
95	frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
96	frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
97	frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
98	device/google/shusky/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
99	device/google/shusky/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf
100
101PRODUCT_PACKAGES += \
102	$(RELEASE_PACKAGE_NFC_STACK) \
103	Tag \
104	android.hardware.nfc-service.st
105
106# SecureElement
107PRODUCT_PACKAGES += \
108	android.hardware.secure_element-service.thales
109
110PRODUCT_COPY_FILES += \
111	frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
112	frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
113	device/google/shusky/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf
114
115# Bluetooth HAL
116PRODUCT_COPY_FILES += \
117	device/google/shusky/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf
118PRODUCT_PROPERTY_OVERRIDES += \
119    ro.bluetooth.a2dp_offload.supported=true \
120    persist.bluetooth.a2dp_offload.disabled=false \
121    persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
122
123# Enable Bluetooth AutoOn feature
124PRODUCT_PRODUCT_PROPERTIES += \
125    bluetooth.server.automatic_turn_on=true
126
127# Bluetooth Tx power caps
128PRODUCT_COPY_FILES += \
129    $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
130    $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_CA.csv \
131    $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_EU.csv \
132    $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv \
133    $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_US.csv \
134    $(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky_GC3VE_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GC3VE_EU.csv
135
136# POF
137PRODUCT_PRODUCT_PROPERTIES += \
138    ro.bluetooth.finder.supported=true
139
140# Spatial Audio
141PRODUCT_PACKAGES += \
142	libspatialaudio
143
144# declare use of spatial audio
145PRODUCT_PROPERTY_OVERRIDES += \
146       ro.audio.spatializer_enabled=true
147
148# Sound Dose
149PRODUCT_PACKAGES += \
150	android.hardware.audio.sounddose-vendor-impl \
151	audio_sounddose_aoc
152
153# Audio CCA property
154PRODUCT_PROPERTY_OVERRIDES += \
155	persist.vendor.audio.cca.enabled=false
156
157# DCK properties based on target
158PRODUCT_PROPERTY_OVERRIDES += \
159    ro.gms.dck.eligible_wcc=3 \
160    ro.gms.dck.se_capability=1
161
162# Bluetooth hci_inject test tool
163PRODUCT_PACKAGES_DEBUG += \
164    hci_inject
165
166# Bluetooth OPUS codec
167PRODUCT_PRODUCT_PROPERTIES += \
168    persist.bluetooth.opus.enabled=true
169
170# Bluetooth SAR test tool
171PRODUCT_PACKAGES_DEBUG += \
172    sar_test
173
174# Bluetooth EWP test tool
175PRODUCT_PACKAGES_DEBUG += \
176    ewp_tool
177
178# Bluetooth AAC VBR
179PRODUCT_PRODUCT_PROPERTIES += \
180    persist.bluetooth.a2dp_aac.vbr_supported=true
181
182# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
183ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
184PRODUCT_PRODUCT_PROPERTIES += \
185    persist.bluetooth.bqr.event_mask=295006 \
186    persist.bluetooth.bqr.vnd_quality_mask=29 \
187    persist.bluetooth.bqr.vnd_trace_mask=0 \
188    persist.bluetooth.vendor.btsnoop=true
189else
190PRODUCT_PRODUCT_PROPERTIES += \
191    persist.bluetooth.bqr.event_mask=295006 \
192    persist.bluetooth.bqr.vnd_quality_mask=16 \
193    persist.bluetooth.bqr.vnd_trace_mask=0 \
194    persist.bluetooth.vendor.btsnoop=false
195endif
196
197# Spatial Audio
198PRODUCT_PACKAGES += \
199	libspatialaudio \
200	librondo
201
202# Bluetooth Super Wide Band
203PRODUCT_PRODUCT_PROPERTIES += \
204	bluetooth.hfp.swb.supported=true
205
206# Bluetooth LE Audio
207PRODUCT_PRODUCT_PROPERTIES += \
208	ro.bluetooth.leaudio_switcher.supported?=true \
209	bluetooth.profile.bap.unicast.client.enabled?=true \
210	bluetooth.profile.csip.set_coordinator.enabled?=true \
211	bluetooth.profile.hap.client.enabled?=true \
212	bluetooth.profile.mcp.server.enabled?=true \
213	bluetooth.profile.ccp.server.enabled?=true \
214	bluetooth.profile.vcp.controller.enabled?=true
215
216ifeq ($(RELEASE_PIXEL_BROADCAST_ENABLED), true)
217PRODUCT_PRODUCT_PROPERTIES += \
218	bluetooth.profile.bap.broadcast.assist.enabled=true \
219	bluetooth.profile.bap.broadcast.source.enabled=true
220endif
221
222# Bluetooth LE Audio enable hardware offloading
223PRODUCT_PRODUCT_PROPERTIES += \
224	ro.bluetooth.leaudio_offload.supported=true \
225	persist.bluetooth.leaudio_offload.disabled=false
226
227# Bluetooth LE Auido offload capabilities setting
228PRODUCT_COPY_FILES += \
229	device/google/shusky/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
230
231# LE Audio Unicast Allowlist
232PRODUCT_PRODUCT_PROPERTIES += \
233    persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5
234
235# Bluetooth LE Audio CIS handover to SCO
236# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
237PRODUCT_PRODUCT_PROPERTIES += \
238	persist.bluetooth.leaudio.notify.idle.during.call=true
239
240# Support LE Audio dual mic SWB call
241PRODUCT_PRODUCT_PROPERTIES += \
242    bluetooth.leaudio.dual_bidirection_swb.supported=true
243
244# Support LE & Classic concurrent encryption (b/330704060)
245PRODUCT_PRODUCT_PROPERTIES += \
246    bluetooth.ble.allow_enc_with_bredr=true
247
248# Support One-Handed mode
249PRODUCT_PRODUCT_PROPERTIES += \
250    ro.support_one_handed_mode=true
251
252# Keymaster HAL
253#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
254
255# Gatekeeper HAL
256#LOCAL_GATEKEEPER_PRODUCT_PACKAGE ?= android.hardware.gatekeeper@1.0-service.software
257
258
259# Gatekeeper
260# PRODUCT_PACKAGES += \
261# 	android.hardware.gatekeeper@1.0-service.software
262
263# Keymint replaces Keymaster
264# PRODUCT_PACKAGES += \
265# 	android.hardware.security.keymint-service
266
267# Keymaster
268#PRODUCT_PACKAGES += \
269#	android.hardware.keymaster@4.0-impl \
270#	android.hardware.keymaster@4.0-service
271
272#PRODUCT_PACKAGES += android.hardware.keymaster@4.0-service.remote
273#PRODUCT_PACKAGES += android.hardware.keymaster@4.1-service.remote
274#LOCAL_KEYMASTER_PRODUCT_PACKAGE := android.hardware.keymaster@4.1-service
275#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
276
277# PRODUCT_PROPERTY_OVERRIDES += \
278# 	ro.hardware.keystore_desede=true \
279# 	ro.hardware.keystore=software \
280# 	ro.hardware.gatekeeper=software
281
282# PowerStats HAL
283PRODUCT_SOONG_NAMESPACES += \
284    device/google/shusky/powerstats/husky \
285    device/google/shusky
286
287# WiFi Overlay
288PRODUCT_PACKAGES += \
289	UwbOverlayHK3 \
290	WifiOverlay2023 \
291	PixelWifiOverlay2023
292
293# Trusty liboemcrypto.so
294PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts
295
296# UWB
297PRODUCT_SOONG_NAMESPACES += \
298    device/google/shusky/uwb
299
300# Location
301# SDK build system
302include device/google/gs-common/gps/brcm/device.mk
303
304PRODUCT_COPY_FILES += \
305       device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
306
307ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
308        PRODUCT_COPY_FILES += \
309            device/google/shusky/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
310            device/google/shusky/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
311            device/google/shusky/location/gps.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
312else
313        PRODUCT_COPY_FILES += \
314            device/google/shusky/location/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
315            device/google/shusky/location/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
316            device/google/shusky/location/gps_user.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
317endif
318
319# Set zram size
320PRODUCT_VENDOR_PROPERTIES += \
321	vendor.zram.size=50p \
322	persist.device_config.configuration.disable_rescue_party=true
323
324# Fingerprint HAL
325GOODIX_CONFIG_BUILD_VERSION := g7_trusty
326APEX_FPS_TA_DIR := //vendor/google_devices/shusky/prebuilts
327$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_common.mk)
328ifeq ($(filter factory%, $(TARGET_PRODUCT)),)
329$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_shipping.mk)
330else
331$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_factory.mk)
332endif
333
334PRODUCT_VENDOR_PROPERTIES += \
335    persist.vendor.udfps.als_feed_forward_supported=true \
336    persist.vendor.udfps.lhbm_controlled_in_hal_supported=true
337
338# Fingerprint exposure compensation
339PRODUCT_VENDOR_PROPERTIES += \
340    persist.vendor.udfps.auto_exposure_compensation_supported=true
341
342# Camera Vendor property
343PRODUCT_VENDOR_PROPERTIES += \
344    persist.vendor.camera.front_720P_always_binning=true
345
346# Media Performance Class 14
347PRODUCT_PRODUCT_PROPERTIES += ro.odm.build.media_performance_class=34
348
349# config of display brightness dimming
350PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.0.brightness.dimming.usage?=1
351PRODUCT_VENDOR_PROPERTIES += \
352    vendor.primarydisplay.op.hs_hz=120 \
353    vendor.primarydisplay.op.ns_hz=60 \
354    vendor.primarydisplay.op.ns_min_dbv=1172
355
356# kernel idle timer for display driver
357PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.support_kernel_idle_timer=true
358
359# lhbm peak brightness delay: decided by kernel
360PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.primarydisplay.lhbm.frames_to_reach_peak_brightness=0
361
362# Display LBE
363PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
364
365# blocking zone for min idle refresh rate
366PRODUCT_VENDOR_PROPERTIES += \
367    ro.vendor.primarydisplay.blocking_zone.min_refresh_rate_by_nits=15:10,:1
368
369# Display ACL
370PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.0.brightness.acl.default=0
371
372# display color data
373PRODUCT_COPY_FILES += \
374	device/google/shusky/husky/panel_config_google-hk3_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-hk3_cal0.pb
375
376# Vibrator HAL
377$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
378ACTUATOR_MODEL := luxshare_ict_081545
379ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
380PRODUCT_VENDOR_PROPERTIES += \
381    persist.vendor.vibrator.hal.chirp.enabled=0 \
382    ro.vendor.vibrator.hal.device.mass=0.222 \
383    ro.vendor.vibrator.hal.loc.coeff=2.8 \
384    persist.vendor.vibrator.hal.context.enable=false \
385    persist.vendor.vibrator.hal.context.scale=60 \
386    persist.vendor.vibrator.hal.context.fade=true \
387    persist.vendor.vibrator.hal.context.cooldowntime=1600 \
388    persist.vendor.vibrator.hal.context.settlingtime=5000 \
389    ro.vendor.vibrator.hal.dbc.enable=true \
390    ro.vendor.vibrator.hal.dbc.envrelcoef=8353728 \
391    ro.vendor.vibrator.hal.dbc.riseheadroom=1909602 \
392    ro.vendor.vibrator.hal.dbc.fallheadroom=1909602 \
393    ro.vendor.vibrator.hal.dbc.txlvlthreshfs=2516583 \
394    ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \
395    ro.vendor.vibrator.hal.pm.activetimeout=5
396
397# Increment the SVN for any official public releases
398ifdef RELEASE_SVN_HUSKY
399TARGET_SVN ?= $(RELEASE_SVN_HUSKY)
400else
401# Set this for older releases that don't use build flag
402TARGET_SVN ?= 35
403endif
404
405PRODUCT_VENDOR_PROPERTIES += \
406    ro.vendor.build.svn=$(TARGET_SVN)
407
408# WLC userdebug specific
409ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
410    PRODUCT_COPY_FILES += \
411        device/google/zuma/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
412endif
413
414# Setup Wizard device-specific settings
415PRODUCT_PRODUCT_PROPERTIES += \
416    setupwizard.feature.enable_quick_start_flow=true \
417
418# Quick Start device-specific settings
419PRODUCT_PRODUCT_PROPERTIES += \
420    ro.quick_start.oem_id=00e0 \
421    ro.quick_start.device_id=husky
422
423# PKVM Memory Reclaim
424PRODUCT_VENDOR_PROPERTIES += \
425    hypervisor.memory_reclaim.supported=1
426
427# P23 Devices no longer need rlsservice
428PRODUCT_VENDOR_PROPERTIES += \
429    persist.vendor.camera.rls_supported=false
430
431# Settings Overlay
432PRODUCT_PACKAGES += \
433    SettingsHuskyOverlay
434
435# Display RRS default Config
436PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=1008x2244@120
437# TODO: b/250788756 - the property will be phased out after HWC loads user-preferred mode
438PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.preferred_mode=1008x2244@120
439
440# Window Extensions
441$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
442
443# Disable Settings large-screen optimization enabled by Window Extensions
444PRODUCT_SYSTEM_PROPERTIES += \
445    persist.settings.large_screen_opt.enabled=false
446
447# Keyboard height ratio and bottom padding in dp for portrait mode
448PRODUCT_PRODUCT_PROPERTIES += \
449         ro.com.google.ime.kb_pad_port_b=10.4
450
451PRODUCT_PRODUCT_PROPERTIES ?= \
452    ro.com.google.ime.height_ratio=1.0
453
454# Enable camera exif model/make reporting
455PRODUCT_VENDOR_PROPERTIES += \
456    persist.vendor.camera.exif_reveal_make_model=true
457
458# AVF assignable devices xml
459PRODUCT_PACKAGES += shusky_assignable_devices.xml
460
461# Enable DeviceAsWebcam support
462PRODUCT_VENDOR_PROPERTIES += \
463    ro.usb.uvc.enabled=true
464
465PRODUCT_PACKAGES += \
466	NfcOverlayHusky \
467
468# Set support hide display cutout feature
469PRODUCT_PRODUCT_PROPERTIES += \
470    ro.support_hide_display_cutout=true
471
472PRODUCT_PACKAGES += \
473    NoCutoutOverlay \
474    AvoidAppsInCutoutOverlay
475
476# ETM
477ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
478$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
479endif
480
481PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
482PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE := true
483