Merge "Controls UI - Fix challenge dialog default" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-18 14:33:44 +00:00
committed by Android (Google) Code Review

View File

@@ -189,12 +189,12 @@ class ControlViewHolder(
} }
ControlAction.RESPONSE_CHALLENGE_PIN -> { ControlAction.RESPONSE_CHALLENGE_PIN -> {
lastChallengeDialog = ChallengeDialogs.createPinDialog( lastChallengeDialog = ChallengeDialogs.createPinDialog(
this, false, failedAttempt, onDialogCancel) this, false /* useAlphanumeric */, failedAttempt, onDialogCancel)
lastChallengeDialog?.show() lastChallengeDialog?.show()
} }
ControlAction.RESPONSE_CHALLENGE_PASSPHRASE -> { ControlAction.RESPONSE_CHALLENGE_PASSPHRASE -> {
lastChallengeDialog = ChallengeDialogs.createPinDialog( lastChallengeDialog = ChallengeDialogs.createPinDialog(
this, false, failedAttempt, onDialogCancel) this, true /* useAlphanumeric */, failedAttempt, onDialogCancel)
lastChallengeDialog?.show() lastChallengeDialog?.show()
} }
ControlAction.RESPONSE_CHALLENGE_ACK -> { ControlAction.RESPONSE_CHALLENGE_ACK -> {