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

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

Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev

parents 55ad60d1 562e5395
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ public class ChooseLockPassword extends SettingsActivity {
        private Stage mUiStage = Stage.Introduction;
        private PasswordRequirementAdapter mPasswordRequirementAdapter;
        private GlifLayout mLayout;
        private boolean mForFingerprint;
        protected boolean mForFingerprint;

        private String mFirstPin;
        private RecyclerView mPasswordRestrictionView;
+5 −1
Original line number Diff line number Diff line
@@ -77,7 +77,11 @@ public class SetupChooseLockPassword extends ChooseLockPassword {
        public void onViewCreated(View view, Bundle savedInstanceState) {
            super.onViewCreated(view, savedInstanceState);

            if (mForFingerprint) {
                mCancelButton.setVisibility(View.GONE);
            } else {
                mCancelButton.setText(R.string.skip_label);
            }

            boolean showOptionsButton = getActivity().getIntent().getBooleanExtra(
                    ChooseLockGenericFragment.EXTRA_SHOW_OPTIONS_BUTTON, false);