Skip to content

Commit

Permalink
Play attention sound if answers are required (Z#23133056)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbi5 committed Nov 20, 2023
1 parent b3a1273 commit 5a61c32
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,7 @@ class MainActivity : AppCompatActivity(), ReloadableActivity, ZXingScannerView.R
TicketCheckProvider.CheckResult.Type.BLOCKED -> mediaPlayers[R.raw.error]?.start()
TicketCheckProvider.CheckResult.Type.INVALID_TIME -> mediaPlayers[R.raw.error]?.start()
TicketCheckProvider.CheckResult.Type.USED -> mediaPlayers[R.raw.error]?.start()
TicketCheckProvider.CheckResult.Type.ANSWERS_REQUIRED -> mediaPlayers[R.raw.attention]?.start()
else -> {
}
}
Expand Down

0 comments on commit 5a61c32

Please sign in to comment.