mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 10:04:39 +02:00
fix min pause time to 3000 ms
This commit is contained in:
parent
504393ff2b
commit
2b14460bf1
2 changed files with 14 additions and 14 deletions
|
@ -492,7 +492,7 @@ class PlayerNotificationService : MediaBrowserServiceCompat() {
|
|||
if (lastPauseTime <= 0) return 0
|
||||
var time: Long = System.currentTimeMillis() - lastPauseTime
|
||||
var seekback: Long = 0
|
||||
if (time < 3) seekback = 0
|
||||
if (time < 3000) seekback = 0
|
||||
else if (time < 60000) seekback = time / 6
|
||||
else if (time < 300000) seekback = 15000
|
||||
else if (time < 1800000) seekback = 20000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue