summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/plugins/PluginEnablerImpl.java
Commit message (Collapse)AuthorAgeFilesLines
* Daggerize Plugin code.Dave Mankoff2021-08-091-1/+7
| | | | | | | | | | | | | | | | | | Restructure the dependencies within all the plugin code and make it suitable for injection. There is still a lot of gnarly code in the plugin architecture, and this is the first step towards cleaning it up. This is also the first step towards being able to load plugins (like the FlagReaderPlugin) _before_ the dagger graph is setup. With this change, it is theoretically possible to directly construct the plugin infrastructure, rather than relying on calls to Dependency#get and other SystemUI idiosyncracies. Bug: 194781951 Test: manual && atest SystemUITests Change-Id: I04da3d12211d9f9d1a5c2c5cd27b6a2d81c3907e
* Track when plugins are disabled due to crashes.Dave Mankoff2018-12-141-4/+28
| | | | | | Bug: 120901833 Change-Id: I41e5c54d059b631befac235b1d3929200764860c Test: atest SystemUITests
* Refactor code to PluginEnablerTony Wickham2018-10-051-0/+48
SystemUI uses PackageManager to enable/disable plugin components. Launcher cannot do this, so we abstract this logic into an interface; Launcher will have a different implementation. Test: "atest com.android.systemui.shared.plugins" build succeeds and all tests pass Bug: 115877296 Change-Id: Ie6f11572026dafa369c99722d63d4daa0ea44fb5