Commit ac20063e authored by topjohnwu's avatar topjohnwu

Disable cache for Magisk Manager

parent debaec32
...@@ -62,7 +62,7 @@ abstract class RemoteFileService : NotificationService() { ...@@ -62,7 +62,7 @@ abstract class RemoteFileService : NotificationService() {
} }
private fun search(subject: DownloadSubject) = Single.fromCallable { private fun search(subject: DownloadSubject) = Single.fromCallable {
if (!Config.isDownloadCacheEnabled) { if (!Config.isDownloadCacheEnabled || subject is Manager) {
throw IllegalStateException("The download cache is disabled") throw IllegalStateException("The download cache is disabled")
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment