mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
优化
This commit is contained in:
parent
11eb304fae
commit
94fb7564f1
|
@ -10,7 +10,6 @@ import android.view.WindowManager.BadTokenException
|
|||
import androidx.annotation.RequiresApi
|
||||
import io.legado.app.R
|
||||
import io.legado.app.constant.IntentAction
|
||||
import io.legado.app.utils.buildMainHandler
|
||||
import io.legado.app.utils.printOnDebug
|
||||
|
||||
|
||||
|
@ -20,8 +19,6 @@ import io.legado.app.utils.printOnDebug
|
|||
@RequiresApi(Build.VERSION_CODES.N)
|
||||
class WebTileService : TileService() {
|
||||
|
||||
private val handler by lazy { buildMainHandler() }
|
||||
|
||||
override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
|
||||
try {
|
||||
when (intent?.action) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user