From 71bc6110e04e8087fc8a1e46da9b6b444f1d13f7 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 2 Nov 2015 01:03:14 +0100 Subject: [PATCH] IsAndroid is now a part of OS --- Dorkbox-Util/src/dorkbox/util/Sys.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Dorkbox-Util/src/dorkbox/util/Sys.java b/Dorkbox-Util/src/dorkbox/util/Sys.java index 77d34fd..4ab9a32 100644 --- a/Dorkbox-Util/src/dorkbox/util/Sys.java +++ b/Dorkbox-Util/src/dorkbox/util/Sys.java @@ -28,8 +28,6 @@ import java.util.Map.Entry; @SuppressWarnings("unused") public final class Sys { - public static final boolean isAndroid = getIsAndroid(); - public static final int KILOBYTE = 1024; public static final int MEGABYTE = 1024 * KILOBYTE; public static final int GIGABYTE = 1024 * MEGABYTE; @@ -46,17 +44,6 @@ class Sys { return charArray; } - private static - boolean getIsAndroid() { - try { - Class.forName("android.os.Process"); - return true; - } catch (Exception ignored) { - return false; - } - } - - public static void eraseString(String string) { // You can change the value of the inner char[] using reflection.