Removed unused code

This commit is contained in:
CappielloAntonio 2021-07-30 17:34:15 +02:00
parent 02d6ad9629
commit 05d2e0b9ec
2 changed files with 23 additions and 37 deletions

View file

@ -40,9 +40,12 @@ import com.cappielloantonio.play.util.PreferenceUtil;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import static com.google.android.exoplayer2.Player.MEDIA_ITEM_TRANSITION_REASON_AUTO;
import static com.google.android.exoplayer2.Player.MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED;
@ -800,6 +803,24 @@ public class MusicService extends Service implements Playback.PlaybackCallbacks
case TRACK_ENDED:
}
}
public void onStart() {
if (executorService != null) executorService.shutdownNow();
executorService = Executors.newScheduledThreadPool(1);
}
public void onNext() {
}
public void onProgress() {
}
public void onStop() {
}
}
public class MusicBinder extends Binder {