Explorar o código

remove flag no network

hanjing %!s(int64=6) %!d(string=hai) anos
pai
achega
745f44d0b5
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      app/src/main/java/com/sheep/gamegroup/util/NetUtil.java

+ 0 - 3
app/src/main/java/com/sheep/gamegroup/util/NetUtil.java

@@ -33,9 +33,6 @@ public class NetUtil {
      * @return
      */
     public static boolean isConnected(Context context) {
-        if(!CAN_CONNECT_SERVICE){
-            return false;
-        }
         ConnectivityManager connectivity = (ConnectivityManager) SheepApp.getInstance()
                 .getSystemService(Context.CONNECTIVITY_SERVICE);