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

Commit 412eb366 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "ota_utils: Don't fail if metadata proto doesn't exist" am: 07491322

Original change: https://android-review.googlesource.com/c/platform/build/+/1879917

Change-Id: I1535cdb272f9c75b0364cb0dce65520f0c523f38
parents 05fc90f0 07491322
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -569,6 +569,7 @@ class PropertyFiles(object):
      tokens.append('metadata.pb:' + ' ' * 15)
    else:
      tokens.append(ComputeEntryOffsetSize(METADATA_NAME))
      if METADATA_PROTO_NAME in zip_file.namelist():
          tokens.append(ComputeEntryOffsetSize(METADATA_PROTO_NAME))

    return ','.join(tokens)