In order to receive updates of slices, we make sliceLiveData observes slice views. When a slice is dismissed, it should stop observing the view so the view can be recycled and reused. Fixes: 120465506 Test: robotests Change-Id: Ie4f12e9a3e6e0e7d59d3346ab17282707047bf16
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.