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

Commit b1ba3c57 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't also skip fingerprint in SUW when skipping face" into sc-dev

parents 685fedd6 1b69dece
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -284,8 +284,10 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase
    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        if (requestCode == BIOMETRIC_FIND_SENSOR_REQUEST) {
            if (resultCode == RESULT_FINISHED || resultCode == RESULT_SKIP
                    || resultCode == RESULT_TIMEOUT) {
            if (resultCode == RESULT_SKIP || resultCode == RESULT_FINISHED) {
                onSkipButtonClick(mFooterBarMixin.getSecondaryButtonView());
                return;
            } else if (resultCode == RESULT_TIMEOUT) {
                setResult(resultCode, data);
                finish();
                return;
@@ -335,7 +337,9 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase
            overridePendingTransition(R.anim.sud_slide_back_in, R.anim.sud_slide_back_out);
        } else if (requestCode == ENROLL_NEXT_BIOMETRIC_REQUEST) {
            Log.d(TAG, "ENROLL_NEXT_BIOMETRIC_REQUEST, result: " + resultCode);
            if (resultCode != RESULT_CANCELED) {
            if (resultCode == RESULT_SKIP || resultCode == RESULT_FINISHED) {
                onSkipButtonClick(mFooterBarMixin.getSecondaryButtonView());
            } else if (resultCode != RESULT_CANCELED) {
                setResult(resultCode, data);
                finish();
            }