Move "Turn on phone calls" from guest detail user screen to user screen. Optimisation: Applying restrictions to default guest user has been moved to UserManagerService -> setDefaultGuestRestrictions. Following UX there is no need for confirmation dialog. Bug: 191483069 Test: make RunSettingsRoboTests -j128 ROBOTEST_FILTER="com.android.settings.users.GuestTelephonyPreferenceControllerTest" make RunSettingsRoboTests -j128 ROBOTEST_FILTER="com.android.settings.users.UserSettingsTest" Change-Id: Id7391d3f85954ea7f9c94791f24174105ec8073e
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.