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

Commit bd290f36 authored by Matthew DeVore's avatar Matthew DeVore
Browse files

DisplayTopology: fix NPE for empty topology

This fixes a bug introduced when refactoring calls of getAbsoluteBounds
to allNodesIdMap. The latter is more lightweight but does not handle
an empty topology like getAbsoluteBounds does. Return an empty map if
the topology is empty, rather then throw an NPE.

Bug: 416247314
Flag: EXEMPT bugfix
Test: SQ
Change-Id: I748dda801bb15a0546b731271dfe5567fdf14b34
parent 748126c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment