Commit a4fb1297 authored by vvb2060's avatar vvb2060 Committed by John Wu

Fix crash in pure 64-bit devices

parent 860a05ab
...@@ -14,7 +14,7 @@ object Const { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment