On large screen Activity embedding devices, Settings homepage shows a highlighted Preference which is mapped to current right pane. For better UX, when users click again on a highlighted Preference, it should not launch SubSettings. Fix: 236275503 Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.dashboard.DashboardFeatureProviderImplTest Change-Id: I222c9b015fb090f359c3c9f4187823477920715b
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.