- If uri is empty it will cause ActivityNotFoundException when calling startActivity Bug: 363782926 Flag: EXEMPT bugfix Test: Manual testing atest -c WifiDetailPreferenceController2Test Change-Id: I48b9a53afe08a7c5e8e512c1961d6aea22a12a21
Running Settings Robolectric tests
The full suite
$ croot
$ atest SettingsRoboTests
Running a single test class
With a filter
$ croot
$ atest SettingsRoboTests:com.android.settings.display.AdaptiveSleepPreferenceControllerTest
You can also run any single test class with atest (it will try to find the correct path)
$ atest AdaptiveSleepPreferenceControllerTest