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

Commit ff42a59a authored by Robin Lee's avatar Robin Lee
Browse files

Small optimization to dumping dim in proto

getDimmer calls getRootDisplayArea in the common case.
This iterates up the hierarchy, so we should reuse the
result of getDimmer instead of calling it twice.

Bug: None
Test: None
Flag: EXEMPT simple optimization
Change-Id: I7f9ed6ffab68c48821ada0b39f9d72f8c84e66ce
parent ba983ba6
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