mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 21:45:27 +00:00
Disable cache for Magisk Manager
This commit is contained in:
parent
debaec32af
commit
ac20063e86
@ -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")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user