summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/dagger/ContextComponentResolver.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove config_additionalSystemUIServiceComponentsDave Mankoff2022-02-091-14/+0
| | | | | | | | Also removes @AdditionaStartable and its associated logic. Bug: 205725937 Test: manual Change-Id: I1ba01928b19313e71060d4e4de22b62c8f20207f
* Remove config_systemUIServiceComponents from SystemUI.Dave Mankoff2022-02-091-5/+7
| | | | | | | | | | | | | | | | | | | | Remove's config_systemUIServiceComponents from SystemUI's config.xml and replaces it with a list of Dagger providers that can easily be defined and customized in code. This is a step to removing our reliance on reflection and hopefully lets SystemUI clients better tailor their binary to their needs. Various other small code tweaks are included to address startup-order dependent issues that were discovered while writing this CL. Some startup customization still occurs via XML - one form factor in particular has an overlay that relies on this. It is my intent to find a way to move off of that in the future. Bug: 205725937 Test: manual Change-Id: I4c207bc9487718eddc21f364e81ec760f286bf30
* Rename SystemUI class to CoreStartableDave Mankoff2021-11-091-4/+4
| | | | | | Bug: 205725937 Test: manual Change-Id: I045a8b4b21cae0f4a6e61502384e2b1a607bc1c6
* 6/N Move everything into SysUIComponent.Dave Mankoff2020-08-161-2/+1
| | | | | | | | | | | | | | | It is far easier to move _everything_ into SysUIComponent, and then selectively promote things back to GlobalScope and/or WMScope than it is to try to do it one at a time. With this change, though lots of files are touched, very little actually changes structurally. After this change goes in, folks should stop using @Singleton quite so freely. Most things should live in @SysuiSingleton. @Singleton is due to quickly be replaced by @GlobalScope. Bug: 162923491 Test: atest SystemUITests && manual Change-Id: Idc31d3d83b030581fb1fa869f7fafc4f2d3a8828
* Make BroadcastReceivers Injectable.Dave Mankoff2019-11-011-1/+13
| | | | | | | | | | GlobalScreenshot.ActionProxyReceiver was calling getComponent(context, StatusBar.class). With this change, StatusBar is now injected into the constructor of that class. Bug: 143224715 Test: atest SystemUITests Change-Id: I2f635ce98c1c0e2326784c4558b28ce51f347fa9
* Remove call to getComponent(StatusBar) from OverviewProxyRecentsImpl.Dave Mankoff2019-10-301-3/+14
| | | | | | | | | | StatusBar is now marked as an Optional component. This also makes implementations of RecentsImplementation injectable. Bug: 143224715 Test: atest SystemUITests && manual Change-Id: I9a8c4af477693d133f06b8dbda2f08d904cfdb57
* Move DI related coded into new dagger package.Dave Mankoff2019-10-211-0/+82
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