1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-15 21:31:47 +01:00

Fix Checkstyle violations in MediaSourceManager

This commit is contained in:
Alexander-- 2020-04-11 09:08:59 +06:59
parent 53b3bda909
commit d1d942f3fd

View File

@ -355,7 +355,8 @@ public class MediaSourceManager {
//////////////////////////////////////////////////////////////////////////*/
private Observable<Long> getEdgeIntervalSignal() {
return Observable.interval(progressUpdateIntervalMillis, TimeUnit.MILLISECONDS, AndroidSchedulers.mainThread())
return Observable.interval(progressUpdateIntervalMillis,
TimeUnit.MILLISECONDS, AndroidSchedulers.mainThread())
.filter(ignored ->
playbackListener.isApproachingPlaybackEdge(playbackNearEndGapMillis));
}