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

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

Issue 6342870919282688: Don't hard code the Acceptable Ads help URL (Closed)
Patch Set: Created Nov. 28, 2013, 2:21 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/org/adblockplus/android/Preferences.java
===================================================================
--- a/src/org/adblockplus/android/Preferences.java
+++ b/src/org/adblockplus/android/Preferences.java
@@ -104,11 +104,6 @@
{
copyAssets();
}
-
- // Set Acceptable Ads FAQ link
- HelpfulCheckBoxPreference acceptableAdsCheckBox = (HelpfulCheckBoxPreference) findPreference(getString(R.string.pref_acceptableads));
- // TODO Set proper url
- acceptableAdsCheckBox.setHelpUrl("https://adblockplus.org/en/acceptable-ads");
}
@Override
@@ -132,6 +127,11 @@
}
subscriptionList.setEntries(entries);
subscriptionList.setEntryValues(entryValues);
+
+ // Set Acceptable Ads FAQ link
+ HelpfulCheckBoxPreference acceptableAdsCheckBox =
+ (HelpfulCheckBoxPreference) findPreference(getString(R.string.pref_acceptableads));
+ acceptableAdsCheckBox.setHelpUrl(AdblockPlus.getApplication().getAcceptableAdsUrl());
}
@Override
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld