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

Commit 1fd8a6d9 authored by Maurice Lam's avatar Maurice Lam Committed by android-build-merger
Browse files

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

am: 8218511f

Change-Id: I48b40d6158f4ebeaaaef6b8d2baf72bf8edf226a
parents 956f52d6 8218511f
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);