Create Preference controller to select camera launch as a target action for the Double Tap Power Button gesture. Android Settings Feature Request: b/380287172 Bug: 379309894 Test: atest DoubleTapPowerForCameraLaunchPreferenceControllerTest FLAG: android.service.quickaccesswallet.launch_wallet_option_on_power_double_tap Change-Id: I3b6b90177293066b04f9f4eb0139f8ac3b3812b0
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