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

Commit 45d0ceb8 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Fix createConfirmDeviceCredentialIntent documentation

Test: make -j56 docs
Test: checked out/target/common/docs/offline-sdk/reference/android/app/KeyguardManager.html

Fixes: 131419117
Change-Id: I8c9254a591677ccf2453bff7d517a641da2b0f32
parent 5ad5cdc3
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,