Commit Graph

7 Commits

Author SHA1 Message Date
Dave Mankoff
f50191441a Provide PipManager through injection.
Adds a controller for PipControlsView so that depdencies can be provided
via injection.

Adds a TvPipComponent to allow injection of PIP related views into related
classes.

Bug: 146660939
Test: atest SystemUITests
Change-Id: Ic1a8f8f0f8e5506f354bb1f07b179db1d7e89577
2020-02-12 11:12:02 -05:00
Dave Mankoff
ae8ec453d4 Instances of SystemUI must now define their own ComponentBinder
This will allow us to mark parts of the core system as Optional,
like the StatusBar.

Bug: 140514132
Test: atest SystemUITests
Change-Id: I37f6fa414e9dc2a672dd0bc8cc69ce4049762973
2019-10-29 15:56:53 -04:00
Dave Mankoff
f473681480 Move DI related coded into new dagger package.
This adds new Dagger qualifiers for BgHandler, BgLooper, MainHandler,
MainLooper, and MainResources, replacing the use of @Named for them.

Bug: 142954072
Test: atest  SystemUITests
Change-Id: Ibbda8998e587474c26740ba8d49a8b3f90d89efa
2019-10-21 17:52:31 -04:00
Heemin Seog
1a39dea844 Separate navigation bar
Move the logic related to navigation bar out of CarStatusBar into
StatusBar.

Note that some navigation bar logic related to notifications and
keyguard needs to stay in StatusBar for now. Will be refactored out in
separate CLs.

Bug: 142787842
Test: manual
Change-Id: Ie6bc5bccbc30aa53ea15e3f2ce19fd793bd6b38a
2019-10-19 14:48:18 -07:00
Dave Mankoff
eb593ae3ee Provide the ability to inject into Activities.
Mocks out KeyguardUpdateMonitor in all tests, as our unit
tests shouldn't care about it (unless they're testing it directly).

Bug: 140430268
Test: atest SystemUITests
Change-Id: I6a2b5231c434d0f26319090340b9c2a0e903f4b6
2019-09-18 15:59:43 -04:00
Dave Mankoff
aa8b7ae4b5 Provide the ability to inject into SystemUI objects.
Bug: 140514132
Test: atest SystemUITests
Change-Id: Ie3ec4b5d7be2d025f9e2f68cb17a6dc0126d49bd
2019-09-05 09:16:14 -04:00
Govinda Wasserman
2e86fb6764 Refactor SysUI to allow daggerization of implementations
Also daggerize Android Auto.

Test: tested locally
BUG:139865326
Change-Id: Ia53398ce410ae8f3768142723af578c215f286a9
2019-08-26 17:00:30 +00:00