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

Commit 205a6088 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15289659

Change-Id: I5479fb581552a70fbdd10d6efc744128c159cf16
parents 47837d28 b1ba3c57
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();
            }