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

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

Issue 6196972490850304: Make the Acceptable Ads link clickable (Closed)
Patch Set: Fix issues Created Nov. 26, 2013, 10:24 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/AdblockPlus.java
===================================================================
--- a/src/org/adblockplus/android/AdblockPlus.java
+++ b/src/org/adblockplus/android/AdblockPlus.java
@@ -284,6 +284,13 @@
abpEngine.setAcceptableAdsEnabled(enabled);
}
+ public String getAcceptableAdsUrl()
+ {
+ final String documentationLink = abpEngine.getDocumentationLink();
+ final String locale = getResources().getConfiguration().locale.toString().replace("_", "-");
+ return documentationLink.replace("%LINK%", "acceptable_ads").replace("%LANG%", locale);
+ }
+
/**
* Returns ElemHide selectors for domain.
*

Powered by Google App Engine
This is Rietveld