commit | 2e484926ff783fa982e4d84d9f0462b6f6e7536d | [log] [tgz] |
---|---|---|
author | Dave Mankoff <mankoff@google.com> | Thu Oct 31 12:25:08 2019 -0400 |
committer | Dave Mankoff <mankoff@google.com> | Fri Nov 01 20:58:34 2019 -0400 |
tree | b0570e619fe27323f78f615ebe6589899167fc8f | |
parent | f1ce426482d55a1ffd52fb51572d85a5882e16d3 [diff] |
Register OverlayPlugins in StatusBar directly. This removes the last call to getComponent(StatusBar.class). Prior to this change, we would register a listener for OverlayPlugins inside the SystemUIApp. Because they are directly related to the StatusBar, it is safe and appropriate to have the StatusBar register with the PluginManager itself. Bug: 143224715 Test: atest SystemUITests Change-Id: I5ecdf6a4dae05ba674bcbcd940b9f2655d2b1cbb