mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Removed unused code
This commit is contained in:
parent
02d6ad9629
commit
05d2e0b9ec
2 changed files with 23 additions and 37 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue