From dc18ae5ec80abcb5b6b263f3e98c623c9e7d751b Mon Sep 17 00:00:00 2001 From: althafvly Date: Tue, 10 Jun 2025 16:12:00 +0530 Subject: [PATCH] Revert "Conditionally use Unix epoch time for build incremental" This reverts commit a618737e9ba67e5c5c6c8821d03731f69be21026. --- core/sysprop.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/sysprop.mk b/core/sysprop.mk index 5748c61a9e..e913f46570 100644 --- a/core/sysprop.mk +++ b/core/sysprop.mk @@ -74,11 +74,7 @@ define generate-common-build-props echo "ro.$(1).build.id?=$(BUILD_ID)" >> $(2);\ echo "ro.$(1).build.tags?=$(BUILD_VERSION_TAGS)" >> $(2);\ echo "ro.$(1).build.type=$(TARGET_BUILD_VARIANT)" >> $(2);\ - if [[ $(BUILD_NUMBER_FROM_FILE) =~ ^eng\. ]]; then \ - echo "ro.$(1).build.version.incremental=`$(DATE_FROM_FILE) +%s`" >> $(2);\ - else \ - echo "ro.$(1).build.version.incremental=$(BUILD_NUMBER_FROM_FILE)" >> $(2);\ - fi; \ + echo "ro.$(1).build.version.incremental=$(BUILD_NUMBER_FROM_FILE)" >> $(2);\ echo "ro.$(1).build.version.release=$(PLATFORM_VERSION_LAST_STABLE)" >> $(2);\ echo "ro.$(1).build.version.release_or_codename=$(PLATFORM_VERSION)" >> $(2);\ echo "ro.$(1).build.version.sdk=$(PLATFORM_SDK_VERSION)" >> $(2);\ -- GitLab