Commit 029158cd authored by Geoffrey Métais's avatar Geoffrey Métais

Reduce scope of size variable

parent 21063d50
......@@ -1208,9 +1208,9 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
@MainThread
public void previous() {
int size = mMediaList.size();
if (hasPrevious() && mCurrentIndex > 0 &&
(!mMediaPlayer.isSeekable() || mMediaPlayer.getTime() < 2000l)) {
int size = mMediaList.size();
mCurrentIndex = mPrevIndex;
if (mPrevious.size() > 0)
mPrevious.pop();
......
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 to comment