mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_polaris
synced 2026-01-27 19:13:48 +00:00
polaris: Split system and vendor props
Change-Id: If965be42e68e9ebbd816656dd2af79f541c1ceea
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -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
8
system.prop
Normal 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
7
vendor.prop
Normal 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
|
||||
Reference in New Issue
Block a user