Commit Graph

4 Commits

Author SHA1 Message Date
Selim Cinek
9d20bed963 Allow for injection in StatusBar Views
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
2018-12-26 17:33:42 -08:00
Gus Prevas
ab33679d7e Fixes import ordering.
Test: n/a
Change-Id: I432e11b52deb7974e50f62076af3b7aa07e364b6
2018-11-14 14:16:52 -05:00
Selim Cinek
9ef119c76f Fixed a few issues around notifications and density changes
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
2017-03-03 10:26:53 -08:00
Jason Monk
2a6ea9c2a1 Delete BaseStatusBar
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
2017-01-26 15:17:45 -05:00