Replace usage with equivalent stable APIs. Bug: 197717846 Test: atest SettingsRoboTests (cherry-picked from ag/16779860) Change-Id: I4151b831fc83dee9b36292cd7991f9b294ed4ff2 Merged-In: I4151b831fc83dee9b36292cd7991f9b294ed4ff2
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.