mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-26 08:37:29 +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 {
|
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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user