Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39ebee41 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Update BiometricPrompt documentation

Test: Builds
Change-Id: Ic4d9505d63f6d5e3885a1de86d1e704e0e7a7cc8
parent 2348248e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -202,6 +202,9 @@ public class BiometricPrompt implements BiometricAuthenticator, BiometricConstan
         * Required: Set the text for the negative button. This would typically be used as a
         * "Cancel" button, but may be also used to show an alternative method for authentication,
         * such as screen that asks for a backup password.
         *
         * Note that this should not be set if {@link #setEnableFallback(boolean)} is set to true.
         *
         * @param text
         * @return
         */
@@ -248,6 +251,10 @@ public class BiometricPrompt implements BiometricAuthenticator, BiometricConstan
        /**
         * The user will first be prompted to authenticate with biometrics, but also given the
         * option to authenticate with their device PIN, pattern, or password.
         *
         * Note that {@link #setNegativeButton(CharSequence, Executor,
         * DialogInterface.OnClickListener)} should not be set if this is set to true.
         *
         * @param enable When true, the prompt will fall back to ask for the user's device
         *               credentials (PIN, pattern, or password).
         * @return