Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee25b964 authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "Support Factory OTA for Virtual A/B devices" am: f5ad6e54 am: 5fb0960a

am: 92d94de0

Change-Id: I8b242d083e8310091ad7523d81d2e110e6b0c4ab
parents fccbf585 92d94de0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1635,6 +1635,10 @@ def GetTargetFilesZipForSecondaryImages(input_file, skip_postinstall=False):
        partitions = [partition for partition in partitions if partition
                      not in SECONDARY_PAYLOAD_SKIPPED_IMAGES]
        output_list.append('{}={}'.format(key, ' '.join(partitions)))
      elif key == 'virtual_ab' or key == "virtual_ab_retrofit":
        # Remove virtual_ab flag from secondary payload so that OTA client
        # don't use snapshots for secondary update
        pass
      else:
        output_list.append(line)
    return '\n'.join(output_list)