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
Loading
Please register or sign in to comment