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

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

Issue 6074937345310720: Issue 1262 - Wrong proxy configuration message (Closed)
Patch Set: Created Aug. 26, 2014, 12:51 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
« no previous file with comments | « no previous file | src/org/adblockplus/android/ConfigurationActivity.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/org/adblockplus/android/AdvancedPreferences.java
diff --git a/src/org/adblockplus/android/AdvancedPreferences.java b/src/org/adblockplus/android/AdvancedPreferences.java
index bf763be58e6d85af05150e005070b50c949820ae..cfe3e106f416f56f631432920dc7ff5fac41d6ea 100644
--- a/src/org/adblockplus/android/AdvancedPreferences.java
+++ b/src/org/adblockplus/android/AdvancedPreferences.java
@@ -65,7 +65,7 @@ public class AdvancedPreferences extends SummarizedPreferences
this.serviceBinder = new ServiceBinder(this);
final PreferenceScreen screen = getPreferenceScreen();
- if (Utils.isNativeProxySupported(this))
+ if (ProxyService.GLOBAL_PROXY_USER_CONFIGURABLE)
{
screen.removePreference(findPreference(getString(R.string.pref_proxy)));
if (prefs.getBoolean(getString(R.string.pref_proxyautoconfigured), false))
@@ -200,7 +200,7 @@ public class AdvancedPreferences extends SummarizedPreferences
{
items.add("Has native proxy auto configured");
}
- if (Utils.isNativeProxySupported(this))
+ if (ProxyService.GLOBAL_PROXY_USER_CONFIGURABLE)
{
final ProxyProperties pp = ProxyProperties.fromContext(getApplicationContext());
if (pp != null)
« no previous file with comments | « no previous file | src/org/adblockplus/android/ConfigurationActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld