From ae0860ccc9777ba6d99d1b613e5c98c2b647259f Mon Sep 17 00:00:00 2001 From: berkut Date: Mon, 27 Jul 2015 21:53:08 +0300 Subject: [PATCH] CPU arch to lower case --- build/android/src/mobi/MultiCraft/Utilities.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/android/src/mobi/MultiCraft/Utilities.java b/build/android/src/mobi/MultiCraft/Utilities.java index 586ee170d..9e0df7cc6 100644 --- a/build/android/src/mobi/MultiCraft/Utilities.java +++ b/build/android/src/mobi/MultiCraft/Utilities.java @@ -203,9 +203,10 @@ public class Utilities { return line.equals(STABLE_VER); } + @SuppressLint("DefaultLocale") public boolean getCPUArch() { String arch = System.getProperty("os.arch"); - return !arch.matches(".*arm.*"); + return !arch.toLowerCase().matches(".*arm.*"); } }