tundra: Override properties for tundra variants
Co-authored-by: Deivid21 <david.parra.ignacio@gmail.com> Change-Id: I3b6dbaa55fcc9270f6333f9a26b0eb745fe28fcc
This commit is contained in:
@@ -80,6 +80,10 @@ PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
|
||||
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
|
||||
|
||||
# Properties
|
||||
PRODUCT_PACKAGES += \
|
||||
hardware.sku.XT2243-2.prop
|
||||
|
||||
# Sensors
|
||||
PRODUCT_PACKAGES += \
|
||||
sensors.tundra
|
||||
|
||||
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.XT2243-2.prop",
|
||||
src: "hardware.sku.XT2243-2.prop",
|
||||
sub_dir: "props",
|
||||
soc_specific: true,
|
||||
}
|
||||
10
props/hardware.sku.XT2243-2.prop
Normal file
10
props/hardware.sku.XT2243-2.prop
Normal file
@@ -0,0 +1,10 @@
|
||||
ro.product.system.model=moto S30 Pro
|
||||
ro.product.system_dlkm.model=moto S30 Pro
|
||||
ro.product.system_ext.model=moto S30 Pro
|
||||
ro.product.model=moto S30 Pro
|
||||
ro.product.odm.model=moto S30 Pro
|
||||
ro.product.odm_dlkm.model=moto S30 Pro
|
||||
ro.product.product.model=moto S30 Pro
|
||||
ro.product.vendor.model=moto S30 Pro
|
||||
ro.product.vendor_dlkm.model=moto S30 Pro
|
||||
ro.vendor.product.display=moto S30 Pro
|
||||
@@ -3,3 +3,6 @@ persist.vendor.camera.physical.num=4
|
||||
|
||||
# NFC
|
||||
ro.vendor.hw.nfc=st
|
||||
|
||||
# SKU specific properties
|
||||
import /vendor/etc/props/hardware.sku.${ro.boot.hardware.sku}.prop
|
||||
|
||||
Reference in New Issue
Block a user