mirror of
https://github.com/topjohnwu/Magisk
synced 2024-11-13 20:54:12 +01:00
Fix crash in pure 64-bit devices
This commit is contained in:
parent
860a05abf2
commit
a4fb1297b0
@ -14,7 +14,7 @@ object Const {
|
|||||||
init {
|
init {
|
||||||
if (Build.VERSION.SDK_INT >= 21) {
|
if (Build.VERSION.SDK_INT >= 21) {
|
||||||
CPU_ABI = Build.SUPPORTED_ABIS[0]
|
CPU_ABI = Build.SUPPORTED_ABIS[0]
|
||||||
CPU_ABI_32 = Build.SUPPORTED_32_BIT_ABIS[0]
|
CPU_ABI_32 = Build.SUPPORTED_32_BIT_ABIS.firstOrNull() ?: CPU_ABI
|
||||||
} else {
|
} else {
|
||||||
CPU_ABI = Build.CPU_ABI
|
CPU_ABI = Build.CPU_ABI
|
||||||
CPU_ABI_32 = CPU_ABI
|
CPU_ABI_32 = CPU_ABI
|
||||||
|
Loading…
Reference in New Issue
Block a user