Add the possibility to disable the Testing Settings Menu (secret code *#*#4636#*#*) on user builds. Bug: 306338055 Test: atest TestingSettingsBroadcastReceiverTest Flag: NA No-Typo-Check: trivial Change-Id: I451f094864bd9a0ad8086e9646e2d666ab2388dc
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