Adds reporting per-display configuration changes to
hierarchy listeners. On system-ui's side, the
DisplayWindowController then dispatches to other registrants
within the process.
Bug: 133381284
Test: Added testDisplayWindowListener
Change-Id: I68c4e9e229b97a9e91ad0d4f5276447a947c413b
This uses the default adapter to match the one used by Settings.
Fixes: 143194158
Test: manual, add tile
Change-Id: If4534cd33adb2c031e1f2f3e1f83995d1b10844c
* changes:
Add new WifiManager API to calculate signal levels
Fix broken test caused by calculateSignalLevel() migration
Migrate WifiStatusTracker calculateSignalLevel()
There were unremoved references in a map in UserBroadcastDispatcher that
were not being removed on unregister, leaking objects.
Test: atest UserBroadcastDispatcherTest
Test: hprof
Fixes: 144937054
Change-Id: Icc33a28711eadcd0d566c468f34e76a3913700f3
calculateSignalLevel() implementation used by
WifiStatusTracker has changed. Update test to mock
new logic.
Bug: 140781184
Test: atest NetworkControllerWifiTest
Change-Id: I348137f2de7944c9600d939bb86cbfef14fcd3b9
We should only update the charging state when there's a battery
event. Not whenever we need to refresh the text field.
Fixes: 142959859
Test: manually plug and unplug device
Test: atest KeyguardIndicationControllerTest
Change-Id: I902eb838a1bf81a8c85655423c3ea218a93afd00
ConfigurationChangedReceiver is removed. Classes that want to be
notified of configuration changes should implement
ConfigurationController.ConfigurationListener instead and register
themselves with the ConfigurationController.
Bug: 144782965
Test: atest SystemUITests
Change-Id: Id2c3fe5ae2729b181769fb31b8050da264299d72
Test: Took a screenshot and verified that AiAi gets notified for
share/edit/delete/smart action clicked and exceptions thrown.
Ran tests-
'atest ScreenshotNotificationSmartActionsTest'
'atest ScreenshotNotificationSmartActionsGoogleTest'
Bug: 142669323
Change-Id: Ief6400549b30cf1c0c8a374aa443cf6347f84875
This removes the injection into the QSCarrierGroup view
and moves it into an associated controller instead.
Controllers are added for QSCarrierGroup, QSContainer,
and QuickStatusBarHeader, though only QSCarrierGroup does
any heavy lifting at the moment. The other controllers are
parent controllers that are needed to ensure everything is
cleanly initialized when the view is inflated.
Bug: 144503618
Test: atest SystemUITests && manual
Change-Id: Iee539b492581f84b25811a9ae2d60426b49b075d