sdm710-common: Split system properties from vendor

This commit is contained in:
Henrique Pereira 2021-08-02 11:33:07 +02:00 committed by Giammarco Senatore
parent 02b355647f
commit 65cb7a78e4
No known key found for this signature in database
GPG key ID: 661348FC1E144F04
4 changed files with 15 additions and 37 deletions

View file

@ -67,6 +67,7 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(COMMON_PATH)/bluetooth
TARGET_USES_QTI_CAMERA_DEVICE := true TARGET_USES_QTI_CAMERA_DEVICE := true
# Display # Display
TARGET_SCREEN_DENSITY := 440
TARGET_USES_GRALLOC1 := true TARGET_USES_GRALLOC1 := true
TARGET_USES_HWC2 := true TARGET_USES_HWC2 := true
TARGET_USES_ION := true TARGET_USES_ION := true
@ -104,7 +105,7 @@ TARGET_USERIMAGES_USE_EXT4 := true
# Properties # Properties
TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop
TARGET_SYSTEM_PROP += $(COMMON_PATH)/system.prop TARGET_PRODUCT_PROP += $(COMMON_PATH)/product.prop
TARGET_SYSTEM_EXT_PROP += $(COMMON_PATH)/system_ext.prop TARGET_SYSTEM_EXT_PROP += $(COMMON_PATH)/system_ext.prop
TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop

View file

@ -14,49 +14,31 @@ ro.charger.enable_suspend=true
persist.vendor.cne.feature=1 persist.vendor.cne.feature=1
persist.vendor.dpmhalservice.enable=1 persist.vendor.dpmhalservice.enable=1
# Display
ro.sf.lcd_density=440
# Dex2oat # Dex2oat
dalvik.vm.dex2oat64.enabled=true dalvik.vm.dex2oat64.enabled=true
dalvik.vm.image-dex2oat-filter=quicken
dalvik.vm.image-dex2oat-threads=8
dalvik.vm.image-dex2oat-cpu-set=0,1,2,3,4,5,6,7
dalvik.vm.dex2oat-filter=quicken
dalvik.vm.dex2oat-threads=8
dalvik.vm.dex2oat-cpu-set=0,1,2,3,4,5,6,7
dalvik.vm.boot-dex2oat-threads=8
dalvik.vm.boot-dex2oat-cpu-set=0,1,2,3,4,5,6,7
# FM # FM
vendor.bluetooth.soc=cherokee vendor.bluetooth.soc=cherokee
ro.vendor.fm.use_audio_session=true ro.vendor.fm.use_audio_session=true
# Graphics
debug.sf.enable_hwc_vds=1
debug.sf.disable_backpressure=1
debug.sf.latch_unsignaled=1
debug.sf.use_phase_offsets_as_durations=1
debug.sf.late.sf.duration=10500000
debug.sf.late.app.duration=20500000
debug.sf.early.sf.duration=21000000
debug.sf.early.app.duration=16500000
debug.sf.earlyGl.sf.duration=13500000
debug.sf.earlyGl.app.duration=21000000
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
# Media # Media
media.settings.xml=/vendor/etc/media_profiles_vendor.xml media.settings.xml=/vendor/etc/media_profiles_vendor.xml
# Telephony # Netflix
ro.netflix.bsp_rev=Q670-14477-1
# RIL
ro.telephony.default_network=22,20 ro.telephony.default_network=22,20
persist.dbg.volte_avail_ovr=1 persist.dbg.volte_avail_ovr=1
persist.dbg.vt_avail_ovr=1 persist.dbg.vt_avail_ovr=1
persist.dbg.wfc_avail_ovr=1 persist.dbg.wfc_avail_ovr=1
# WiFi Display # SurfaceFlinger
debug.sf.enable_hwc_vds=1 debug.sf.enable_hwc_vds=1
persist.vendor.radio.atfwd.start=false debug.sf.disable_backpressure=1
debug.sf.latch_unsignaled=1
debug.sf.enable_hwc_vds=1
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
# Zygote # Zygote
persist.device_config.runtime_native.usap_pool_enabled=true persist.device_config.runtime_native.usap_pool_enabled=true

View file

@ -9,8 +9,11 @@ $(call inherit-product-if-exists, vendor/lenovo/sdm710-common/sdm710-common-vend
# Enable updating of APEXes # Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
# Setup dalvik vm configs
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
# Boot animation # Boot animation
TARGET_SCREEN_HEIGHT := 2244 TARGET_SCREEN_HEIGHT := 2340
TARGET_SCREEN_WIDTH := 1080 TARGET_SCREEN_WIDTH := 1080
# Device uses high-density artwork where available # Device uses high-density artwork where available

View file

@ -102,14 +102,6 @@ ro.vendor.bluetooth.wipower=false
persist.vendor.qcom.bluetooth.aac_frm_ctl.enabled=true persist.vendor.qcom.bluetooth.aac_frm_ctl.enabled=true
persist.vendor.qcom.bluetooth.twsp_state.enabled=false persist.vendor.qcom.bluetooth.twsp_state.enabled=false
# Dalvik
dalvik.vm.heapgrowthlimit=256m
dalvik.vm.heapstartsize=8m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
# Display # Display
ro.vendor.display.cabl=2 ro.vendor.display.cabl=2
vendor.display.enable_default_color_mode=1 vendor.display.enable_default_color_mode=1