Fix BasePlayer.next()

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=220470213
This commit is contained in:
olly 2018-11-07 08:53:09 -08:00 committed by Oliver Woodman
parent 6bc0408222
commit f5c3b30290

View file

@ -62,7 +62,7 @@ public abstract class BasePlayer implements Player {
@Override
public final void next() {
int nextWindowIndex = getPreviousWindowIndex();
int nextWindowIndex = getNextWindowIndex();
if (nextWindowIndex != C.INDEX_UNSET) {
seekToDefaultPosition(nextWindowIndex);
}