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

Commit 4ae98164 authored by Kevin Chyn's avatar Kevin Chyn Committed by Android (Google) Code Review
Browse files

Merge "Fix createConfirmDeviceCredentialIntent documentation" into qt-dev

parents df91220f 45d0ceb8
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -125,15 +125,14 @@ public class KeyguardManager {
    public static final int RESULT_ALTERNATE = 1;

    /**
     * @deprecated see {@link BiometricPrompt.Builder#setDeviceCredentialAllowed(boolean)}
     *
     * Get an intent to prompt the user to confirm credentials (pin, pattern, password or biometrics
     * if enrolled) for the current user of the device. The caller is expected to launch this
     * activity using {@link android.app.Activity#startActivityForResult(Intent, int)} and check for
     * {@link android.app.Activity#RESULT_OK} if the user successfully completes the challenge.
     *
     * @return the intent for launching the activity or null if no password is required.
     **/
     * @deprecated see {@link BiometricPrompt.Builder#setDeviceCredentialAllowed(boolean)}
     */
    @Deprecated
    @RequiresFeature(PackageManager.FEATURE_SECURE_LOCK_SCREEN)
    public Intent createConfirmDeviceCredentialIntent(CharSequence title,