app: use userspace copy

This commit is contained in:
vvb2060
2026-04-14 10:24:16 +00:00
committed by John Wu
parent 4ee1590cc8
commit 483901f3cd
4 changed files with 5 additions and 14 deletions
@@ -82,9 +82,7 @@ class FlashViewModel : BaseViewModel() {
MagiskInstaller.Patch(uri, outItems, logItems).exec()
}
Const.Value.DOWNLOAD -> {
if (uri == null || Build.VERSION.SDK_INT < 29) {
return@launch
}
uri ?: return@launch
showReboot = false
MagiskInstaller.Download(uri.toString(), outItems, logItems).exec()
}