Set ro.build.version.security_patch and ro.build.version.sdk in system/etc/prop.default
This commit is contained in:
parent
5414900380
commit
5f2ba98975
7
base.mk
7
base.mk
@ -15,3 +15,10 @@ $(call inherit-product, vendor/vndk/vndk.mk)
|
|||||||
$(call inherit-product, vendor/hardware_overlay/overlay.mk)
|
$(call inherit-product, vendor/hardware_overlay/overlay.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||||
|
|
||||||
|
#Those overrides are here because Huawei's init read properties
|
||||||
|
#from /system/etc/prop.default, then /vendor/build.prop, then /system/build.prop
|
||||||
|
#So we need to set our props in prop.default
|
||||||
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||||
|
ro.build.version.security_patch=$(PLATFORM_SECURITY_PATCH) \
|
||||||
|
ro.build.version.sdk=$(PLATFORM_SDK_VERSION)
|
||||||
|
Loading…
Reference in New Issue
Block a user