mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 16:07:39 +00:00
Fix error patching boot.img
Signed-off-by: Shaka Huang <shakalaca@gmail.com>
This commit is contained in:
parent
db9a4b31f9
commit
9582379e1b
@ -97,7 +97,7 @@ sealed class DownloadSubject : Parcelable {
|
|||||||
operator fun invoke(configuration: Configuration) = when (configuration) {
|
operator fun invoke(configuration: Configuration) = when (configuration) {
|
||||||
Configuration.Download -> Download()
|
Configuration.Download -> Download()
|
||||||
Configuration.Uninstall -> Uninstall()
|
Configuration.Uninstall -> Uninstall()
|
||||||
Configuration.EnvFix, is Configuration.Flash -> DownloadInternal(configuration)
|
Configuration.EnvFix, is Configuration.Flash, is Configuration.Patch -> DownloadInternal(configuration)
|
||||||
else -> throw IllegalArgumentException()
|
else -> throw IllegalArgumentException()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user