Commit fa2b195d authored by Varun Patil's avatar Varun Patil

Remove dead logging

parent 9b0efae1
...@@ -84,17 +84,12 @@ public class ServiceGenerator { ...@@ -84,17 +84,12 @@ public class ServiceGenerator {
} }
public boolean isConnected() { public boolean isConnected() {
Log.wtf("cache", "MEOW");
try { try {
android.net.ConnectivityManager e = (android.net.ConnectivityManager) context.getSystemService( android.net.ConnectivityManager e = (android.net.ConnectivityManager) context.getSystemService(
Context.CONNECTIVITY_SERVICE); Context.CONNECTIVITY_SERVICE);
NetworkInfo activeNetwork = e.getActiveNetworkInfo(); NetworkInfo activeNetwork = e.getActiveNetworkInfo();
Log.wtf("cache", Boolean.toString(activeNetwork != null && activeNetwork.isConnectedOrConnecting()));
return activeNetwork != null && activeNetwork.isConnectedOrConnecting(); return activeNetwork != null && activeNetwork.isConnectedOrConnecting();
} catch (Exception e) { } catch (Exception e) {}
Log.w("cache", e.toString());
}
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment