Before this CL, if users selects usb tethering option and reconnects usb it would not start entitlement check. Because we only start entitlement checks when users select it. This CL will start entitlement checks when usb tethering option is selected and reconnects usb. Bug: 176037347 Test: make -j42 RunSettingsRoboTests Change-Id: I3a2ad392a1cae9cf97355ef3cd4fb8c23de18673
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.