This CL is used to register intent of AudioManager.STREAM_DEVICES_CHANGED_ACTION to know that phone is on VOIP call. When received this intent, media slice will to update UI. Then if audio mode is on-going call, we will hide the slice UI. Bug: 132198606 Test: Test: make -j42 RunSettingsRoboTests Change-Id: Ic17ebd319b3da8f42089d36ba530cfb57c93c4c6
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.