Create preference controller for radio button to select wallet launch as target action for Double Tap Power Button gesture. Android Settings Feature Request: b/380287172 Bug: 379308160 Test: atest DoubleTapPowerForWalletLaunchPreferenceControllerTest FLAG: android.service.quickaccesswallet.launch_wallet_option_on_power_double_tap Change-Id: Ib1629996401ea88aeec2831a55fdc9f2ad9dcd5e
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