Add/remove the SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS flag into/from SettingsHomepageActivity and SettingsPanelActivity with lifecycle. Bug: 138442483 Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.homepage make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.panel manual test Change-Id: I72f9a947f57f74a8c09127d6c39173594c248ddc Merged-In: I72f9a947f57f74a8c09127d6c39173594c248ddc
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.