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

Commit f0759c95 authored by d34d's avatar d34d
Browse files

Add LOCKSCREEN_BIOMETRIC_WEAK_FALLBACK to fallbackIntent

In order for a fingerprint to be properly set,
LOCKSCREEN_BIOMETRIC_WEAK_FALLBACK needs to be added to the intent
and set to true.

Change-Id: Ib899ca108d9c553bb01c76a03700601f1459718f
parent 8b5f6673
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -93,6 +93,7 @@ public class SetupEnrollFingerprint extends EnrollFingerprint

        if (needsFallback) {
            Intent fallBackIntent = new Intent().setClass(this, SetupChooseLockGeneric.class);
            fallBackIntent.putExtra(LockPatternUtils.LOCKSCREEN_BIOMETRIC_WEAK_FALLBACK, true);
            fallBackIntent.putExtra(LockPatternUtils.LOCKSCREEN_FINGERPRINT_FALLBACK, true);
            fallBackIntent.putExtra(ManageFingerprints.CONFIRM_CREDENTIALS, false);
            fallBackIntent.putExtra(EXTRA_SHOW_FRAGMENT_TITLE,