There is API to open up the app-specific bubble page, therefor, we should always show the toggle. The previous work to move bubbles to developer settings broke this. This CL adds a param to the controller to note whether it's the app specific page or not (since controller is also used for channel settings) to enable this behaviour. Added a test for this situation. Test: make -j40 RunSettingsRoboTests ROBOTEST_FILTER=Bubble Bug: 131846917 Change-Id: I72b1f4b5b033d1b24281061cfa6bed4d734dfcb1
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.