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

Commit 5856cfbf authored by Tianjie's avatar Tianjie
Browse files

Temporarily remove the care_map in the ota package

The care_map has incorrect size for non-sparse images. Temporarily
removes it until the root cause is fixed

Bug: 205541521
Test: build
Change-Id: I76bcd2c0c778566b4a6c69b6d45428952225d406
parent ec71cbf0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1191,6 +1191,8 @@ def GenerateAbOtaPackage(target_file, output_file, source_file=None):
    care_map_list = [x for x in ["care_map.pb", "care_map.txt"] if
                     "META/" + x in target_zip.namelist()]

    # TODO(b/205541521) remove the workaround after root cause is fixed.
    care_map_list = []
    # Adds care_map if either the protobuf format or the plain text one exists.
    if care_map_list:
      care_map_name = care_map_list[0]