From 717965bc371424927305f2f576acd3f6f017ca5a Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 13 Jan 2020 15:12:39 +0100 Subject: [PATCH] Update comment --- vector/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vector/build.gradle b/vector/build.gradle index ef9a014a2b..4960c6b796 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -25,13 +25,13 @@ static def getGitTimestamp() { static def generateVersionCodeFromTimestamp() { // It's unix timestamp, minus timestamp of October 3rd 2018 (first commit date) divided by 100: It's incremented by one every 100 seconds. - // plus 20_000_000 for compatibility reason with the previous timestamp + // plus 20_000_000 for compatibility reason with the previous way the Version Code was computed // Note that the result will be multiplied by 10 when adding the digit for the arch return ((getGitTimestamp() - 1_538_524_800 ) / 100).toInteger() + 20_000_000 } def generateVersionCodeFromVersionName() { - // plus 4_000_000 for compatibility reason with the previous timestamp + // plus 4_000_000 for compatibility reason with the previous way the Version Code was computed // Note that the result will be multiplied by 10 when adding the digit for the arch return (versionMajor * 1_00_00 + versionMinor * 1_00 + versionPatch) + 4_000_000 }