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

Commit b54d9094 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix computation of _lowest_staging_first_id" into main

parents 214a11bb 6c514d38
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -141,7 +141,11 @@ def finalize_group(raw):
    # Only add it to final.xml if new ids were actually assigned
    # Only add it to final.xml if new ids were actually assigned
    if res:
    if res:
        res = '<staging-public-group-final type="%s" first-id="%s">\n%s  </staging-public-group-final>\n\n%s' % (_type, raw.group(2), group_matches, res)
        res = '<staging-public-group-final type="%s" first-id="%s">\n%s  </staging-public-group-final>\n\n%s' % (_type, raw.group(2), group_matches, res)

    # Potenitally bump _lowest_staging_first_id if this group had any flags (finalize or not).
    if all:
        _lowest_staging_first_id = min(id, _lowest_staging_first_id)
        _lowest_staging_first_id = min(id, _lowest_staging_first_id)

    return res
    return res


"""
"""