Add ROM version tag to build property and delete ro.pa
Adding the version tag to the build.prop property will display it in Settings -> About -> PA Version Remove ro.pa property because it is no longer used by OTA. Change-Id: I6636ae500eef236d018a5c4b13e7081dae4518c6 Signed-off-by: Evan Anderson <evan1124@gmail.com>
This commit is contained in:
parent
65c7bc9824
commit
5986cbcb5e
|
@ -40,7 +40,3 @@ else
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/pa/prebuilt/bootanimation/XHDPI.zip:system/media/bootanimation.zip
|
vendor/pa/prebuilt/bootanimation/XHDPI.zip:system/media/bootanimation.zip
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# ro.pa used by ParanoidOTA
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
|
||||||
ro.pa=true
|
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
VERSION := $(ROM_VERSION_MAJOR).$(ROM_VERSION_MINOR)$(ROM_VERSION_MAINTENANCE)
|
|
||||||
ifneq ($ROM_VERSION_TAG,"")
|
ifneq ($ROM_VERSION_TAG,"")
|
||||||
export ROM_VERSION := $(VERSION)-$(ROM_VERSION_TAG)-$(shell date -u +%Y%m%d)
|
VERSION := $(ROM_VERSION_MAJOR).$(ROM_VERSION_MINOR)$(ROM_VERSION_MAINTENANCE)-$(ROM_VERSION_TAG)
|
||||||
else
|
else
|
||||||
export ROM_VERSION := $(VERSION)-$(shell date -u +%Y%m%d)
|
VERSION := $(ROM_VERSION_MAJOR).$(ROM_VERSION_MINOR)$(ROM_VERSION_MAINTENANCE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
export ROM_VERSION := $(VERSION)-$(shell date -u +%Y%m%d)
|
||||||
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
ro.modversion=$(ROM_VERSION) \
|
ro.modversion=$(ROM_VERSION) \
|
||||||
ro.$(VENDOR).version=$(VERSION)
|
ro.$(VENDOR).version=$(VERSION)
|
||||||
|
|
Loading…
Reference in New Issue