mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-30 06:32:36 +00:00
Cleaned up unused imports.
This commit is contained in:
parent
4f5dc45d14
commit
0e95104644
@ -15,7 +15,6 @@ import io.reactivex.Single
|
|||||||
import io.reactivex.android.schedulers.AndroidSchedulers
|
import io.reactivex.android.schedulers.AndroidSchedulers
|
||||||
import io.reactivex.rxkotlin.subscribeBy
|
import io.reactivex.rxkotlin.subscribeBy
|
||||||
import io.reactivex.schedulers.Schedulers
|
import io.reactivex.schedulers.Schedulers
|
||||||
import java.util.*
|
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
abstract class PlayerWrapper {
|
abstract class PlayerWrapper {
|
||||||
|
@ -7,9 +7,10 @@ import com.google.android.exoplayer2.*
|
|||||||
import com.google.android.exoplayer2.source.ConcatenatingMediaSource
|
import com.google.android.exoplayer2.source.ConcatenatingMediaSource
|
||||||
import com.google.android.exoplayer2.source.MediaSource
|
import com.google.android.exoplayer2.source.MediaSource
|
||||||
import com.google.android.exoplayer2.source.ProgressiveMediaSource
|
import com.google.android.exoplayer2.source.ProgressiveMediaSource
|
||||||
import com.google.android.exoplayer2.source.TrackGroupArray
|
import com.google.android.exoplayer2.upstream.DataSource
|
||||||
import com.google.android.exoplayer2.trackselection.TrackSelectionArray
|
import com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
|
||||||
import com.google.android.exoplayer2.upstream.*
|
import com.google.android.exoplayer2.upstream.DefaultDataSource
|
||||||
|
import com.google.android.exoplayer2.upstream.DefaultHttpDataSource
|
||||||
import com.google.android.exoplayer2.util.Util
|
import com.google.android.exoplayer2.util.Util
|
||||||
import io.casey.musikcube.remote.Application
|
import io.casey.musikcube.remote.Application
|
||||||
import io.casey.musikcube.remote.service.playback.PlayerWrapper
|
import io.casey.musikcube.remote.service.playback.PlayerWrapper
|
||||||
|
@ -17,7 +17,6 @@ import io.casey.musikcube.remote.service.websocket.model.ITrackListQueryFactory
|
|||||||
import io.casey.musikcube.remote.service.websocket.model.impl.remote.RemoteTrack
|
import io.casey.musikcube.remote.service.websocket.model.impl.remote.RemoteTrack
|
||||||
import io.reactivex.Observable
|
import io.reactivex.Observable
|
||||||
import org.json.JSONObject
|
import org.json.JSONObject
|
||||||
import java.util.*
|
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
class RemotePlaybackService : IPlaybackService {
|
class RemotePlaybackService : IPlaybackService {
|
||||||
|
@ -13,10 +13,7 @@ import io.casey.musikcube.remote.service.gapless.db.GaplessDb
|
|||||||
import io.casey.musikcube.remote.service.gapless.db.GaplessTrack
|
import io.casey.musikcube.remote.service.gapless.db.GaplessTrack
|
||||||
import io.casey.musikcube.remote.ui.settings.constants.Prefs
|
import io.casey.musikcube.remote.ui.settings.constants.Prefs
|
||||||
import io.casey.musikcube.remote.ui.shared.util.NetworkUtil
|
import io.casey.musikcube.remote.ui.shared.util.NetworkUtil
|
||||||
import okhttp3.OkHttpClient
|
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import java.net.URL
|
|
||||||
import java.util.*
|
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@ import io.reactivex.android.schedulers.AndroidSchedulers
|
|||||||
import io.reactivex.schedulers.Schedulers
|
import io.reactivex.schedulers.Schedulers
|
||||||
import org.json.JSONArray
|
import org.json.JSONArray
|
||||||
import org.json.JSONObject
|
import org.json.JSONObject
|
||||||
import java.util.*
|
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
@Database(entities = [OfflineTrack::class], version = 1)
|
@Database(entities = [OfflineTrack::class], version = 1)
|
||||||
|
@ -6,6 +6,7 @@ import android.content.*
|
|||||||
import android.graphics.Bitmap
|
import android.graphics.Bitmap
|
||||||
import android.graphics.drawable.Drawable
|
import android.graphics.drawable.Drawable
|
||||||
import android.media.AudioManager
|
import android.media.AudioManager
|
||||||
|
import android.os.*
|
||||||
import android.support.v4.media.MediaMetadataCompat
|
import android.support.v4.media.MediaMetadataCompat
|
||||||
import android.support.v4.media.session.MediaSessionCompat
|
import android.support.v4.media.session.MediaSessionCompat
|
||||||
import android.support.v4.media.session.PlaybackStateCompat
|
import android.support.v4.media.session.PlaybackStateCompat
|
||||||
@ -35,8 +36,6 @@ import io.casey.musikcube.remote.ui.shared.util.Size
|
|||||||
import io.casey.musikcube.remote.util.Debouncer
|
import io.casey.musikcube.remote.util.Debouncer
|
||||||
import androidx.core.app.NotificationCompat.Action as NotifAction
|
import androidx.core.app.NotificationCompat.Action as NotifAction
|
||||||
import io.casey.musikcube.remote.ui.shared.util.AlbumArtLookup.getUrl as getAlbumArtUrl
|
import io.casey.musikcube.remote.ui.shared.util.AlbumArtLookup.getUrl as getAlbumArtUrl
|
||||||
import android.app.NotificationManager
|
|
||||||
import android.os.*
|
|
||||||
|
|
||||||
const val ENABLE_LOGGING = false
|
const val ENABLE_LOGGING = false
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user