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

Commit 006edb1f authored by joshmccloskey's avatar joshmccloskey Committed by android-build-merger
Browse files

Merge "Change cancel button type to skip for SUW" into qt-r1-dev

am: ff01d52d

Change-Id: Idcddf14e8aa3cfcd50b78ed112d51bf06424b840
parents 8d931707 ff01d52d
Loading
Loading
Loading
Loading
+19 −9
Original line number Diff line number Diff line
@@ -47,7 +47,16 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
        mFaceManager = Utils.getFaceManagerOrNull(this);

        mFooterBarMixin = getLayout().getMixin(FooterBarMixin.class);

        if (WizardManagerHelper.isAnySetupWizard(getIntent())) {
            mFooterBarMixin.setSecondaryButton(
                    new FooterButton.Builder(this)
                            .setText(R.string.security_settings_face_enroll_introduction_no_thanks)
                            .setListener(this::onSkipButtonClick)
                            .setButtonType(FooterButton.ButtonType.SKIP)
                            .setTheme(R.style.SudGlifButton_Secondary)
                            .build()
            );
        } else {
            mFooterBarMixin.setSecondaryButton(
                    new FooterButton.Builder(this)
                            .setText(R.string.security_settings_face_enroll_introduction_no_thanks)
@@ -56,6 +65,7 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
                            .setTheme(R.style.SudGlifButton_Secondary)
                            .build()
            );
        }

        mFooterBarMixin.setPrimaryButton(
                new FooterButton.Builder(this)