Merge TP1A.220513.001

Change-Id: I8feff4e5c5107f3465f9966254495513c8d03ace
This commit is contained in:
Daniel Norman 2022-05-17 10:22:00 -07:00
commit bf0e929e87
3 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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",