Session: Limit bell
This commit is contained in:
parent
5c5a30d595
commit
7da71ecab4
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user