优化
This commit is contained in:
@@ -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