Index: src/org/adblockplus/android/ProxyService.java |
=================================================================== |
--- a/src/org/adblockplus/android/ProxyService.java |
+++ b/src/org/adblockplus/android/ProxyService.java |
@@ -852,6 +852,7 @@ |
if (ConnectivityManager.CONNECTIVITY_ACTION.equals(action)) |
{ |
ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); |
+ // TODO Should we use ConnectivityManagerCompat.getNetworkInfoFromBroadcast() instead? |
Andrey Novikov
2013/04/09 07:42:10
Disregard this, it does not belong to this patch s
|
NetworkInfo info = connectivityManager.getActiveNetworkInfo(); |
if (info == null) |
return; |