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

Skip to content
Commit 0daaff2b authored by Justin Weir's avatar Justin Weir
Browse files

Remove HeadsUpManagerPhone from some variants

HeadsUpMangerPhone is only needed in phones and car, but it is
included in all variants. This currently blocks development of the
new shade domain layer, because we'd need to spend time updating the
variants to include it when we add integrate HeadsUpManagerPhone.
I tried cleaning up some dependencies in order to prevent variants
from wanting it in the first place, but that change wasn't viable.
This change extracts an interface and binds a no op impl in the
variants that don't need it and HeadsUpMangerPhone in those that do.
It also changes the class to a singleton and makes the constructor
injectable to simplify its binding.

Fixes: 302508896
Test: build and presubmits are sufficient
Change-Id: Ie58072d294e37915b08421fb36825d3913c634af
parent c7873f85
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