Index: src/org/adblockplus/android/ProxyConfigurationActivity.java |
diff --git a/src/org/adblockplus/android/ProxyConfigurationActivity.java b/src/org/adblockplus/android/ProxyConfigurationActivity.java |
index 14fc958cc043dc08de8ac26f321661a07e899083..a5394a2f95dffac401d23edeca66c6924a277978 100644 |
--- a/src/org/adblockplus/android/ProxyConfigurationActivity.java |
+++ b/src/org/adblockplus/android/ProxyConfigurationActivity.java |
@@ -20,7 +20,7 @@ public class ProxyConfigurationActivity extends Activity |
final int port = getIntent().getIntExtra("port", 0); |
final StringBuilder info = new StringBuilder(); |
- final int textId = Utils.isNativeProxySupported(this) ? R.raw.proxysettings : R.raw.proxysettings_old; |
+ final int textId = ProxyService.GLOBAL_PROXY_USER_CONFIGURABLE ? R.raw.proxysettings : R.raw.proxysettings_old; |
AdblockPlus.appendRawTextFile(this, info, textId); |
final String msg = String.format(info.toString(), port); |
@@ -28,7 +28,7 @@ public class ProxyConfigurationActivity extends Activity |
tv.setText(Html.fromHtml(msg)); |
tv.setMovementMethod(LinkMovementMethod.getInstance()); |
- final Button buttonToHide = (Button) findViewById(Utils.isNativeProxySupported(this) ? R.id.gotit : R.id.opensettings); |
+ final Button buttonToHide = (Button) findViewById(ProxyService.GLOBAL_PROXY_USER_CONFIGURABLE ? R.id.gotit : R.id.opensettings); |
buttonToHide.setVisibility(View.GONE); |
} |