FIX: Can't swich to previous track with long click

Many heatsets can switch track with long click on volume buttons. Two long clicks requires around 5 seconds. With 2 seconds soooo hard to do this.
This commit is contained in:
imShara 2018-02-28 19:50:12 +03:00 committed by GitHub
commit 0b7211b675
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -886,7 +886,7 @@ public class MusicService extends Service implements SharedPreferences.OnSharedP
}
public void back(boolean force) {
if (getSongProgressMillis() > 2000) {
if (getSongProgressMillis() > 5000) {
seek(0);
} else {
playPreviousSong(force);