From ed637852d092f6373367334d5eed65d636ef51a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C6=B0ng=20Phan?= Date: Mon, 25 Oct 2021 17:29:25 +0700 Subject: [PATCH] Cherish:Remove Utils MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hưng Phan --- src/com/cherish/settings/preferences/Utils.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/com/cherish/settings/preferences/Utils.java b/src/com/cherish/settings/preferences/Utils.java index 1fa53ff..5debce8 100644 --- a/src/com/cherish/settings/preferences/Utils.java +++ b/src/com/cherish/settings/preferences/Utils.java @@ -58,12 +58,6 @@ public final class Utils { return telephony != null && telephony.isVoiceCapable(); } - public static boolean isWifiOnly(Context context) { - ConnectivityManager cm = (ConnectivityManager)context.getSystemService( - Context.CONNECTIVITY_SERVICE); - return (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false); - } - public static boolean hasMultipleUsers(Context context) { return ((UserManager) context.getSystemService(Context.USER_SERVICE)) .getUsers().size() > 1;