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

Commit 136b7e9d authored by David Riley's avatar David Riley
Browse files

Fix graph_ams dot file generation.

Test: m graph_ams; adb shell dumpsys activity --proto > activity.bin; graph_ams activity.bin > activity.dot; dot -Tpdf activity.dot -o activity.pdf
Bug: 438548067
Flag: EXEMPT build infra and tools
Change-Id: Ia9093bfd02a82b41f9a21579ee8fec7e5ad2640f
parent 008772e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ def print_dot_nodes(nodes):
    if colour:
      attrs.append(make_attr("fillcolor", colour))
      attrs.append(make_attr("style", "filled"))
    print(f"  {n["id"]} [" + " ".join(attrs) + "]")
    print(f"  {n["pid"]} [" + " ".join(attrs) + "]")

def print_dot_edges(edges, bindflags, highlight):
  """Print all the edges based on service connections."""