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

Commit e24255fe authored by Mill Chen's avatar Mill Chen
Browse files

Fix multiple biometrics enrollment flow

Suppose both face auth and fingerprint auth exist in a device, the setup
flow will skip fingerprint enrollment when a user skips to register
face data on the face enrollment education page. Updated the skip button
method and make the flow move on to fingerprint enrollment if a use
doesn't want to register face data.

Fix: 186084024
Test: manual verified
1) Reset device and start from SUW
2) Press skip button on the face unlock education page
3) The next flow should be fingerprint enrollment intro page

Change-Id: I037ae68f39f5fdbf62ea95b998621c7f7df31b43
parent c8abbc4d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -215,9 +215,11 @@ public class FaceEnrollEducation extends BiometricEnrollBase {
    }

    protected void onSkipButtonClick(View view) {
        if (!BiometricUtils.tryStartingNextBiometricEnroll(this, ENROLL_NEXT_BIOMETRIC_REQUEST)) {
            setResult(RESULT_SKIP);
            finish();
        }
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {