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

Commit 2603ad8e 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:...

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

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

Change-Id: Ifac150920895adcf0794eb0c28d2ccb97953ef2c
parents 5c4fa0c4 205a6088
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();
            }