UserPackage no longer stores a UserInfo, only a UserHandle, to aid in mainline modularization. Update Settings to fetch the UserInfo itself when it needs to show the user name. Bug: 310653407 Test: atest WebViewAppPickerTest Flag: NONE cannot flag changed types in method signatures Change-Id: I0e6f58e6b6a353171ddf923279ff08a92e2f040a
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