|
|
@ -128,6 +128,7 @@ class WebService : BaseService() { |
|
|
|
|
|
|
|
|
|
|
|
private fun upTile(active: Boolean) { |
|
|
|
private fun upTile(active: Boolean) { |
|
|
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { |
|
|
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { |
|
|
|
|
|
|
|
kotlin.runCatching { |
|
|
|
startService<WebTileService> { |
|
|
|
startService<WebTileService> { |
|
|
|
action = if (active) { |
|
|
|
action = if (active) { |
|
|
|
IntentAction.start |
|
|
|
IntentAction.start |
|
|
@ -136,5 +137,7 @@ class WebService : BaseService() { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|