Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/org/adblockplus/android/ProxyService.java

Issue 10102005: ABP/Android Process chunked requests (Closed)
Patch Set: ABP/Android Process chunked requests Created April 9, 2013, 8:45 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « no previous file | src/org/adblockplus/brazil/RequestHandler.java » ('j') | src/sunlabs/brazil/util/http/HttpRequest.java » ('J')

Powered by Google App Engine
This is Rietveld