Horis 2 лет назад
Родитель
Сommit
06d19a6a8f
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      app/src/main/java/io/legado/app/service/WebTileService.kt

+ 0 - 3
app/src/main/java/io/legado/app/service/WebTileService.kt

@@ -10,7 +10,6 @@ import android.view.WindowManager.BadTokenException
 import androidx.annotation.RequiresApi
 import androidx.annotation.RequiresApi
 import io.legado.app.R
 import io.legado.app.R
 import io.legado.app.constant.IntentAction
 import io.legado.app.constant.IntentAction
-import io.legado.app.utils.buildMainHandler
 import io.legado.app.utils.printOnDebug
 import io.legado.app.utils.printOnDebug
 
 
 
 
@@ -20,8 +19,6 @@ import io.legado.app.utils.printOnDebug
 @RequiresApi(Build.VERSION_CODES.N)
 @RequiresApi(Build.VERSION_CODES.N)
 class WebTileService : TileService() {
 class WebTileService : TileService() {
 
 
-    private val handler by lazy { buildMainHandler() }
-
     override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
     override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
         try {
         try {
             when (intent?.action) {
             when (intent?.action) {