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

Commit e47a2ab8 authored by Xiyuan Xia's avatar Xiyuan Xia
Browse files

Fix wrong stage exception in ChooseLockPattern

ChooseLockPattern should updateStage instead of always enabling
pattern view input.

Bug:22760251
Change-Id: I3675c0aada293e168769147ba8e4203e9310e593
parent fea2b30a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -444,11 +444,11 @@ public class ChooseLockPattern extends SettingsActivity {
        @Override
        public void onResume() {
            super.onResume();
            updateStage(mUiStage);

            if (mSaveAndFinishWorker != null) {
                setRightButtonEnabled(false);
                mSaveAndFinishWorker.setListener(this);
            } else {
                mLockPatternView.enableInput();
            }
        }