Commit Graph

2 Commits

Author SHA1 Message Date
Dave Mankoff
aefb346f51 Make BroadcastReceivers Injectable.
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
2019-11-01 20:58:34 -04: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