polaris: Split system and vendor props

Change-Id: If965be42e68e9ebbd816656dd2af79f541c1ceea
This commit is contained in:
Bruno Martins
2020-02-18 23:49:20 +00:00
parent 1a559b3311
commit 106644d003
5 changed files with 19 additions and 23 deletions

View File

@@ -24,6 +24,10 @@ TARGET_USES_NQ_NFC := true
# Partitions
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
# Properties
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Recovery
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom

View File

@@ -1,20 +0,0 @@
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.camera.sat.fallback.dist=45 \
persist.camera.sat.fallback.dist.d=5 \
persist.camera.sat.fallback.luxindex=405 \
persist.camera.sat.fallback.lux.d=20
# Display density
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=440
# Fingerprint
PRODUCT_PROPERTY_OVERRIDES += \
ro.hardware.fp.fpc=true \
ro.hardware.fp.goodix=true
# NFC
PRODUCT_PROPERTY_OVERRIDES += \
ro.hardware.nfc_nci=nqx.default \
ro.se.type=HCE,UICC

View File

@@ -34,9 +34,6 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
# Properties
-include $(LOCAL_PATH)/device-props.mk
# Screen density
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi

8
system.prop Normal file
View File

@@ -0,0 +1,8 @@
# Camera
persist.camera.sat.fallback.dist=45
persist.camera.sat.fallback.dist.d=5
persist.camera.sat.fallback.luxindex=405
persist.camera.sat.fallback.lux.d=20
# Display density
ro.sf.lcd_density=440

7
vendor.prop Normal file
View File

@@ -0,0 +1,7 @@
# Fingerprint
ro.hardware.fp.fpc=true
ro.hardware.fp.goodix=true
# NFC
ro.hardware.nfc_nci=nqx.default
ro.se.type=HCE,UICC