Previously, StatusBar was unable to have any views with injection
due to dagger. We're now allowing for member injection in the
top level StatusBar class and any views inflated.
Once most members are migrated from Dependency we can fully migrate
to the new dependency injection.
Bug: 111414690
Test: atest SystemUITests
Change-Id: I988dc4426c2183955a467e9ea7f7ee7acf6f3019
Because density and font size changes would actually be
delivered by Dependency, the SystemUI could actually get
the onDensityChanged after the onDensityOrFontScaleChanged.
Let's make sure all configuration changes now go through the
same listener.
This also ensures that the caching of the icon offsets is done
correctly, since the statusbar layout may actually be laid out
later then the shelf.
Test: change density from small to large, observe normal layout
Change-Id: I313b5334ccbb57f7929fe03dbd5119396123b137
Fixes: 35678628
It is a relic of a more complex time, but has passed out of all
knowledge for too long.
Test: manual testing on phones and TV
Change-Id: I62a15d9413ea4bda3ac82bf6f7d22c096e2c1cdc