Don't call doSomeWork if we're preparing
This commit is contained in:
parent
2a82ff353b
commit
b1992c3848
@ -525,7 +525,7 @@ import java.util.List;
|
||||
notifyAll();
|
||||
}
|
||||
}
|
||||
if (state != ExoPlayer.STATE_IDLE) {
|
||||
if (state != ExoPlayer.STATE_IDLE && state != ExoPlayer.STATE_PREPARING) {
|
||||
// The message may have caused something to change that now requires us to do work.
|
||||
handler.sendEmptyMessage(MSG_DO_SOME_WORK);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user