CPU arch to lower case

This commit is contained in:
berkut 2015-07-27 21:53:08 +03:00
parent d0bdd4071a
commit ae0860ccc9
1 changed files with 2 additions and 1 deletions

View File

@ -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.*");
}
}