Session: Limit bell

This commit is contained in:
zt515 2017-12-09 23:55:48 +08:00
parent 5c5a30d595
commit 7da71ecab4

View File

@ -18,7 +18,6 @@ class BellController constructor() {
private var soundPool: SoundPool? = null
private var lastBellTime = 0L
fun bellOrVibrate(context: Context, session: ShellTermSession) {
val currentTime = System.currentTimeMillis()
if (currentTime - lastBellTime < BELL_DELAY_MS) {