mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-25 12:27:38 +00:00
Update progress bar on fast forward/rewind
This commit is contained in:
@@ -1129,6 +1129,7 @@ public abstract class BasePlayer implements
|
|||||||
Log.d(TAG, "onFastRewind() called");
|
Log.d(TAG, "onFastRewind() called");
|
||||||
}
|
}
|
||||||
seekBy(-getSeekDuration());
|
seekBy(-getSeekDuration());
|
||||||
|
triggerProgressUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onFastForward() {
|
public void onFastForward() {
|
||||||
@@ -1136,6 +1137,7 @@ public abstract class BasePlayer implements
|
|||||||
Log.d(TAG, "onFastForward() called");
|
Log.d(TAG, "onFastForward() called");
|
||||||
}
|
}
|
||||||
seekBy(getSeekDuration());
|
seekBy(getSeekDuration());
|
||||||
|
triggerProgressUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
private int getSeekDuration() {
|
private int getSeekDuration() {
|
||||||
|
|||||||
Reference in New Issue
Block a user