pull/32/head
kunfei 5 years ago
parent bf9803681a
commit f9525a2d24
  1. 12
      app/src/main/java/io/legado/app/service/CheckSourceService.kt
  2. 12
      app/src/main/java/io/legado/app/service/DownloadService.kt
  3. 12
      app/src/main/java/io/legado/app/service/ShareService.kt
  4. 12
      app/src/main/java/io/legado/app/service/UpdateService.kt
  5. 12
      app/src/main/java/io/legado/app/service/WebService.kt

@ -1,12 +1,8 @@
package io.legado.app.service
import android.app.Service
import android.content.Intent
import android.os.IBinder
class CheckSourceService : Service() {
override fun onBind(intent: Intent?): IBinder? {
return null
}
import io.legado.app.base.BaseService
class CheckSourceService : BaseService() {
}

@ -1,12 +1,8 @@
package io.legado.app.service
import android.app.Service
import android.content.Intent
import android.os.IBinder
class DownloadService : Service() {
override fun onBind(intent: Intent?): IBinder? {
return null
}
import io.legado.app.base.BaseService
class DownloadService : BaseService() {
}

@ -1,12 +1,8 @@
package io.legado.app.service
import android.app.Service
import android.content.Intent
import android.os.IBinder
class ShareService : Service() {
override fun onBind(intent: Intent?): IBinder? {
return null
}
import io.legado.app.base.BaseService
class ShareService : BaseService() {
}

@ -1,12 +1,8 @@
package io.legado.app.service
import android.app.Service
import android.content.Intent
import android.os.IBinder
class UpdateService : Service() {
override fun onBind(intent: Intent?): IBinder? {
return null
}
import io.legado.app.base.BaseService
class UpdateService : BaseService() {
}

@ -1,12 +1,12 @@
package io.legado.app.service
import android.app.Service
import android.content.Intent
import android.os.IBinder
import io.legado.app.base.BaseService
class WebService : Service() {
override fun onBind(intent: Intent?): IBinder? {
return null
class WebService : BaseService() {
override fun onCreate() {
super.onCreate()
}
}
Loading…
Cancel
Save