Controls UI - Fix challenge dialog default

PASSPHRASE was defaulting to PIN behavior

Fixes: 159311439
Test: manual, use mock app TYPE_GATE
Change-Id: Ic65bfcd4774f4b4e14207acb43d0f43fe96a5dcc
This commit is contained in:
Matt Pietal
2020-06-18 08:48:24 -04:00
parent 42472cb3a0
commit 9f403a1c06

View File

@@ -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 -> {