优化
This commit is contained in:
@@ -89,8 +89,10 @@ object CacheBook {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun stop(context: Context) {
|
fun stop(context: Context) {
|
||||||
context.startService<CacheBookService> {
|
if (CacheBookService.isRun) {
|
||||||
action = IntentAction.stop
|
context.startService<CacheBookService> {
|
||||||
|
action = IntentAction.stop
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user