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

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

Issue 9643003: Improve manual proxy configuration (Closed)
Patch Set: Addressed review issues Created March 13, 2013, 8:48 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/Preferences.java
===================================================================
--- a/src/org/adblockplus/android/Preferences.java
+++ b/src/org/adblockplus/android/Preferences.java
@@ -414,8 +414,6 @@
ViewGroup grp = (ViewGroup) findViewById(R.id.grp_configuration);
TextView msg = (TextView) findViewById(R.id.txt_configuration);
msg.setText(Html.fromHtml(message));
- View btn = findViewById(R.id.btn_configuration);
- btn.setVisibility(ProxyService.NATIVE_PROXY_SUPPORTED ? View.VISIBLE : View.GONE);
grp.setVisibility(View.VISIBLE);
}
@@ -443,7 +441,7 @@
if (extra.getBoolean("configured"))
hideConfigurationMsg();
else
- showConfigurationMsg(getString(R.string.msg_configuration, extra.getInt("port")));
+ showConfigurationMsg(getString(R.string.msg_configuration));
}
}
else
@@ -536,7 +534,7 @@
Log.d(TAG, "Proxy service connected");
if (proxyService.isManual() && proxyService.noTraffic())
- showConfigurationMsg(getString(R.string.msg_configuration, proxyService.port));
+ showConfigurationMsg(getString(R.string.msg_configuration));
}
public void onServiceDisconnected(ComponentName className)
« no previous file with comments | « src/org/adblockplus/android/ConfigurationActivity.java ('k') | src/org/adblockplus/android/ProxyConfigurationActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld