When device restart & launching "Feedback" from lock screen, the "send feedback" option will be missing. It's because the report package cannot be found by calling from lock screen. Update the option visibility after updatestate and add test case. Bug: 74076963 Test: Manual test and RunSettingsRoboTests:FeedbackPreferenceControllerTest Change-Id: I105d6f90da499423b6881f2ba808e69bd2e8595d
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.