Commit f5c3b302 by olly Committed by Oliver Woodman

Fix BasePlayer.next()

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=220470213
parent 6bc04082
...@@ -62,7 +62,7 @@ public abstract class BasePlayer implements Player { ...@@ -62,7 +62,7 @@ public abstract class BasePlayer implements Player {
@Override @Override
public final void next() { public final void next() {
int nextWindowIndex = getPreviousWindowIndex(); int nextWindowIndex = getNextWindowIndex();
if (nextWindowIndex != C.INDEX_UNSET) { if (nextWindowIndex != C.INDEX_UNSET) {
seekToDefaultPosition(nextWindowIndex); seekToDefaultPosition(nextWindowIndex);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment