Disable cache for Magisk Manager

This commit is contained in:
topjohnwu 2019-07-29 03:56:35 -07:00
parent debaec32af
commit ac20063e86

View File

@ -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")
}