mirror of
https://github.com/LineageOS/android_device_xiaomi_vermeer.git
synced 2026-06-20 18:19:35 +00:00
vermeer: Set HWC-specific properties
Change-Id: I111af006fca4fffa6695119663c422ccd7edab8d Co-authored-by: danielml <daniel@danielml.dev> Signed-off-by: Jens Reidel <adrian@travitia.xyz>
This commit is contained in:
@@ -36,3 +36,12 @@ PRODUCT_COPY_FILES += \
|
|||||||
# Soong namespaces
|
# Soong namespaces
|
||||||
PRODUCT_SOONG_NAMESPACES += \
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
$(LOCAL_PATH)
|
$(LOCAL_PATH)
|
||||||
|
|
||||||
|
# System properties
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/properties/build_CN.prop:$(TARGET_COPY_OUT_ODM)/etc/build_CN.prop \
|
||||||
|
$(LOCAL_PATH)/properties/build_GL.prop:$(TARGET_COPY_OUT_ODM)/etc/build_GL.prop
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/properties/build_CN.prop:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/odm/etc/build_CN.prop \
|
||||||
|
$(LOCAL_PATH)/properties/build_GL.prop:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/odm/etc/build_GL.prop
|
||||||
|
|||||||
8
properties/build_CN.prop
Normal file
8
properties/build_CN.prop
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Chinese model
|
||||||
|
bluetooth.device.default_name=Redmi K70
|
||||||
|
vendor.usb.product_string=Redmi K70
|
||||||
|
ro.product.odm.brand=Redmi
|
||||||
|
ro.product.odm.device=vermeer
|
||||||
|
ro.product.odm.manufacturer=Xiaomi
|
||||||
|
ro.product.odm.model=23113RKC6C
|
||||||
|
ro.product.odm.name=vermeer
|
||||||
8
properties/build_GL.prop
Normal file
8
properties/build_GL.prop
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Global model
|
||||||
|
bluetooth.device.default_name=POCO F6 Pro
|
||||||
|
vendor.usb.product_string=POCO F6 Pro
|
||||||
|
ro.product.odm.brand=POCO
|
||||||
|
ro.product.odm.device=vermeer
|
||||||
|
ro.product.odm.manufacturer=Xiaomi
|
||||||
|
ro.product.odm.model=23113RKC6G
|
||||||
|
ro.product.odm.name=vermeer_global
|
||||||
@@ -5,3 +5,6 @@ persist.sys.miui_resolution=1440x3200
|
|||||||
# Fingerprint
|
# Fingerprint
|
||||||
persist.vendor.sys.fp.fod.location.X_Y=596,2758
|
persist.vendor.sys.fp.fod.location.X_Y=596,2758
|
||||||
persist.vendor.sys.fp.fod.size.width_height=248,248
|
persist.vendor.sys.fp.fod.size.width_height=248,248
|
||||||
|
|
||||||
|
# Model-specific properties
|
||||||
|
import /odm/etc/build_${ro.boot.hwc}.prop
|
||||||
@@ -5,3 +5,6 @@ persist.vendor.fingerprint.sensor_location=720|2882|124
|
|||||||
ro.vendor.sensors.xiaomi.double_tap=true
|
ro.vendor.sensors.xiaomi.double_tap=true
|
||||||
ro.vendor.sensors.xiaomi.single_tap=true
|
ro.vendor.sensors.xiaomi.single_tap=true
|
||||||
ro.vendor.sensors.xiaomi.udfps=true
|
ro.vendor.sensors.xiaomi.udfps=true
|
||||||
|
|
||||||
|
# System properties
|
||||||
|
ro.product.property_source_order=odm,vendor,product,system_ext,system
|
||||||
|
|||||||
Reference in New Issue
Block a user