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) {
|
||||
Configuration.Download -> Download()
|
||||
Configuration.Uninstall -> Uninstall()
|
||||
Configuration.EnvFix, is Configuration.Flash -> DownloadInternal(configuration)
|
||||
Configuration.EnvFix, is Configuration.Flash, is Configuration.Patch -> DownloadInternal(configuration)
|
||||
else -> throw IllegalArgumentException()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user