tasker: completely remove
This commit is contained in:
parent
643defd9e4
commit
111cb9688f
1 changed files with 0 additions and 4 deletions
|
@ -28,8 +28,6 @@ import dagger.hilt.android.AndroidEntryPoint
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
import org.oxycblt.auxio.music.service.IndexerServiceFragment
|
import org.oxycblt.auxio.music.service.IndexerServiceFragment
|
||||||
import org.oxycblt.auxio.playback.service.MediaSessionServiceFragment
|
import org.oxycblt.auxio.playback.service.MediaSessionServiceFragment
|
||||||
import org.oxycblt.auxio.tasker.indicateServiceRunning
|
|
||||||
import org.oxycblt.auxio.tasker.indicateServiceStopped
|
|
||||||
|
|
||||||
@AndroidEntryPoint
|
@AndroidEntryPoint
|
||||||
class AuxioService : MediaLibraryService(), ForegroundListener {
|
class AuxioService : MediaLibraryService(), ForegroundListener {
|
||||||
|
@ -42,7 +40,6 @@ class AuxioService : MediaLibraryService(), ForegroundListener {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
mediaSessionFragment.attach(this, this)
|
mediaSessionFragment.attach(this, this)
|
||||||
indexingFragment.attach(this)
|
indexingFragment.attach(this)
|
||||||
indicateServiceRunning()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onBind(intent: Intent?): IBinder? {
|
override fun onBind(intent: Intent?): IBinder? {
|
||||||
|
@ -73,7 +70,6 @@ class AuxioService : MediaLibraryService(), ForegroundListener {
|
||||||
|
|
||||||
override fun onDestroy() {
|
override fun onDestroy() {
|
||||||
super.onDestroy()
|
super.onDestroy()
|
||||||
indicateServiceStopped()
|
|
||||||
indexingFragment.release()
|
indexingFragment.release()
|
||||||
mediaSessionFragment.release()
|
mediaSessionFragment.release()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue