mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-26 13:12:59 +00:00
fixed variant download
This commit is contained in:
parent
2e59c6c4b5
commit
d942f82dc5
1 changed files with 4 additions and 4 deletions
|
@ -20,12 +20,12 @@ open class VariantInstall : BaseFragment() {
|
|||
val arch =
|
||||
when {
|
||||
Build.SUPPORTED_ABIS.contains("x86") -> "x86"
|
||||
Build.SUPPORTED_ABIS.contains("arm64-v8a") -> "arm64-v8a"
|
||||
Build.SUPPORTED_ABIS.contains("armeabi-v7a") -> "armeabi-v7a"
|
||||
else -> "armeabi-v7a"
|
||||
Build.SUPPORTED_ABIS.contains("arm64-v8a") -> "arm64_v8a"
|
||||
Build.SUPPORTED_ABIS.contains("armeabi-v7a") -> "armeabi_v7a"
|
||||
else -> "armeabi_v7a"
|
||||
}
|
||||
|
||||
downloadSplit("arch", arch, false, loadBar, R.id.toInstallThemeFragment)
|
||||
downloadSplit("arch", arch, false, loadBar, R.id.toInstallLanguageFragment)
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue