diff --git a/app/src/main/java/com/topjohnwu/magisk/model/download/RemoteFileService.kt b/app/src/main/java/com/topjohnwu/magisk/model/download/RemoteFileService.kt index ee04d9124..bcd11fd2a 100644 --- a/app/src/main/java/com/topjohnwu/magisk/model/download/RemoteFileService.kt +++ b/app/src/main/java/com/topjohnwu/magisk/model/download/RemoteFileService.kt @@ -62,7 +62,7 @@ abstract class RemoteFileService : NotificationService() { } private fun search(subject: DownloadSubject) = Single.fromCallable { - if (!Config.isDownloadCacheEnabled) { + if (!Config.isDownloadCacheEnabled || subject is Manager) { throw IllegalStateException("The download cache is disabled") }