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

Commit 9f403a1c authored by Matt Pietal's avatar Matt Pietal
Browse files

Controls UI - Fix challenge dialog default

PASSPHRASE was defaulting to PIN behavior

Fixes: 159311439
Test: manual, use mock app TYPE_GATE
Change-Id: Ic65bfcd4774f4b4e14207acb43d0f43fe96a5dcc
parent 42472cb3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -189,12 +189,12 @@ class ControlViewHolder(
            }
            ControlAction.RESPONSE_CHALLENGE_PIN -> {
                lastChallengeDialog = ChallengeDialogs.createPinDialog(
                    this, false, failedAttempt, onDialogCancel)
                    this, false /* useAlphanumeric */, failedAttempt, onDialogCancel)
                lastChallengeDialog?.show()
            }
            ControlAction.RESPONSE_CHALLENGE_PASSPHRASE -> {
                lastChallengeDialog = ChallengeDialogs.createPinDialog(
                    this, false, failedAttempt, onDialogCancel)
                    this, true /* useAlphanumeric */, failedAttempt, onDialogCancel)
                lastChallengeDialog?.show()
            }
            ControlAction.RESPONSE_CHALLENGE_ACK -> {