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

Commit 562e5395 authored by Maurice Lam's avatar Maurice Lam
Browse files

Hide skip button when setting backup lock screen

Test: Manual
Bug: 62896253
Change-Id: If16de0b4276b55101f35543bbbf107a36ad7a8e9
parent 38b7d50a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -196,7 +196,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
@@ -85,7 +85,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);