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? |
NetworkInfo info = connectivityManager.getActiveNetworkInfo(); |
if (info == null) |
return; |