diff --git a/core/build_id.mk b/core/build_id.mk index 9f75c94829..671769d6e8 100644 --- a/core/build_id.mk +++ b/core/build_id.mk @@ -18,4 +18,4 @@ # (like "CRB01"). It must be a single word, and is # capitalized by convention. -BUILD_ID=TP1A.220507.001 +BUILD_ID=TP1A.220513.001 diff --git a/core/version_defaults.mk b/core/version_defaults.mk index 28d759ce8a..ede9782f59 100644 --- a/core/version_defaults.mk +++ b/core/version_defaults.mk @@ -53,7 +53,7 @@ PLATFORM_VERSION_LAST_STABLE := 13 # These are the current development codenames, if the build is not a final # release build. If this is a final release build, it is simply "REL". -PLATFORM_VERSION_CODENAME.TP1A := Tiramisu +PLATFORM_VERSION_CODENAME.TP1A := REL # This is the user-visible version. In a final release build it should # be empty to use PLATFORM_VERSION as the user-visible version. For diff --git a/tools/releasetools/ota_from_target_files.py b/tools/releasetools/ota_from_target_files.py index 522d489195..d1b935845f 100755 --- a/tools/releasetools/ota_from_target_files.py +++ b/tools/releasetools/ota_from_target_files.py @@ -1068,10 +1068,11 @@ def GeneratePartitionTimestampFlagsDowngrade( pre_partition_state, post_partition_state): assert pre_partition_state is not None partition_timestamps = {} - for part in pre_partition_state: - partition_timestamps[part.partition_name] = part.version for part in post_partition_state: - partition_timestamps[part.partition_name] = \ + partition_timestamps[part.partition_name] = part.version + for part in pre_partition_state: + if part.partition_name in partition_timestamps: + partition_timestamps[part.partition_name] = \ max(part.version, partition_timestamps[part.partition_name]) return [ "--partition_timestamps",