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

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

Issue 9437197: ABP/Android Proxy switch (Closed)
Patch Set: Created Feb. 28, 2013, 1:20 p.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/ProxySettings.java
===================================================================
--- a/src/org/adblockplus/android/ProxySettings.java
+++ b/src/org/adblockplus/android/ProxySettings.java
@@ -178,8 +178,8 @@
{
ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
Object lp = method.invoke(connectivityManager);
- if (lp == null) // There is no active link now, but device has native
- // proxy support
+ // There is no active link now, but device has native proxy support
+ if (lp == null)
return true;
String className = "android.net.ProxyProperties";

Powered by Google App Engine
This is Rietveld