rhodep: Override properties for rhodep variants
Co-authored-by: Deivid21 <david.parra.ignacio@gmail.com> Change-Id: I94c0410c4d2b0cfc40a8b9cd7decc5485ab2c5a0
This commit is contained in:
@@ -75,6 +75,10 @@ $(foreach DEVICE_SKU, $(DEVICE_SKUS), \
|
||||
$(LOCAL_PATH)/permissions/unavail.android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/unavail.android.hardware.nfc.uicc.xml \
|
||||
$(LOCAL_PATH)/permissions/unavail.android.hardware.nfc.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/unavail.android.hardware.nfc.xml)
|
||||
|
||||
# Properties
|
||||
PRODUCT_PACKAGES += \
|
||||
hardware.sku.XT2225-2.prop
|
||||
|
||||
# Sensors
|
||||
PRODUCT_PACKAGES += \
|
||||
sensors.rhodep
|
||||
|
||||
11
props/Android.bp
Normal file
11
props/Android.bp
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
prebuilt_etc {
|
||||
name: "hardware.sku.XT2225-2.prop",
|
||||
src: "hardware.sku.XT2225-2.prop",
|
||||
sub_dir: "props",
|
||||
soc_specific: true,
|
||||
}
|
||||
10
props/hardware.sku.XT2225-2.prop
Normal file
10
props/hardware.sku.XT2225-2.prop
Normal file
@@ -0,0 +1,10 @@
|
||||
ro.product.system.model=moto g71s
|
||||
ro.product.system_dlkm.model=moto g71s
|
||||
ro.product.system_ext.model=moto g71s
|
||||
ro.product.model=moto g71s
|
||||
ro.product.odm.model=moto g71s
|
||||
ro.product.odm_dlkm.model=moto g71s
|
||||
ro.product.product.model=moto g71s
|
||||
ro.product.vendor.model=moto g71s
|
||||
ro.product.vendor_dlkm.model=moto g71s
|
||||
ro.vendor.product.display=moto g71s
|
||||
@@ -13,3 +13,6 @@ ro.surface_flinger.set_idle_timer_ms=250
|
||||
|
||||
# Radio
|
||||
ro.vendor.radio.imei.sv=26
|
||||
|
||||
# SKU specific properties
|
||||
import /vendor/etc/props/hardware.sku.${ro.boot.hardware.sku}.prop
|
||||
|
||||
Reference in New Issue
Block a user