- Add a new PreferenceItem for check enrolled fingerprint - Create a new DialogFragment for the check enrolled fingerprint with functions: - request an authentication to FingerprintManager - highlight the item when a authentication successes - show error text when authentication fails - close the authentication Bug: 370940762 Test: atest FingerprintSettingsFragmentTest Flag: com.android.settings.flags.biometrics_onboarding_education Change-Id: I90637e4ec20ea46e6f530ffd7ba79df9c31eda6b
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