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