Root Cause: Dialog only get updated when clicked the trigger button to show dialog. Solution: Update the software shortcut content in dialog if needed in onResume() stage. Bug: 183342594 Test: atest AccessibilityDialogUtilsTest Change-Id: Ibcd66d6c57f1790f96f234e49f456cbc2c990f64
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.