[Status Bar Refactor] 1/3: Have HeadsUpAppearanceController be created by
dagger and use it in CollapsedStatusBarFragment instead of using StatusBar.java. Note that HUAC can't be injected to the fragment directly because that creates a dependency cycle: PhoneStatusBarView is injected into HUAC, which is injected into the fragment, which provides PhoneStatusBarView. Test: manual (verified HUAC callbacks still trigger, verified fragment is still getting the correct value for shouldHeadsUpBeVisible) Test: atest SystemUITests Test: new unit tests Bug: 205609837 Bug: 204792508 Change-Id: I33aa80f4866c9561302430cf9206cc96802896cc
Loading
Please register or sign in to comment