summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/ContextComponentHelper.java
AgeCommit message (Collapse)Author
2019-10-21Move DI related coded into new dagger package.Dave Mankoff
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-09-18Provide the ability to inject into Activities.Dave Mankoff
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-05Provide the ability to inject into SystemUI objects.Dave Mankoff
Bug: 140514132 Test: atest SystemUITests Change-Id: Ie3ec4b5d7be2d025f9e2f68cb17a6dc0126d49bd
2019-08-28Allow ContentProviders to be injected into.Dave Mankoff
This also allows ContentProviders to call Dependency.get() and similar, dagger-dependent functions. Bug: 139479357 Test: atest SystemUITests Change-Id: I48f370f9506417b04394923fab6bf8cbf19804a4
2019-07-08Allow Services to be created through Dagger.Dave Mankoff
This is a significant change that allows Services to have their constructed injected into. This change includes DozeService as an example, injecting the FalsingManager into its constructor. Bug: 136279712 Test: atest SystemUITests Change-Id: Ib58f8763c996fbc2aea07ead56493d2d9e936f5b