优化
This commit is contained in:
1 parent
cb56ba7475
commit
45d631c1b7
1 file changed
+2
@@ -89,10 +89,12 @@ object CacheBook {
|
||||
}
|
||||
|
||||
fun stop(context: Context) {
|
||||
if (CacheBookService.isRun) {
|
||||
context.startService<CacheBookService> {
|
||||
action = IntentAction.stop
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun clear() {
|
||||
successDownloadSet.clear()
|
||||
|
||||
Reference in new issue
Block a user