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

Unified Diff: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/WhitelistedWebsitesPreferenceCategory.java

Issue 29524668: Issue 3916 - Supporting Adding filter lists via URL (Closed)
Patch Set: Issue 3916 - Supporting Adding filer lists via URL Created Aug. 23, 2017, 2:20 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
Index: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/WhitelistedWebsitesPreferenceCategory.java
===================================================================
--- a/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/WhitelistedWebsitesPreferenceCategory.java
+++ b/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/WhitelistedWebsitesPreferenceCategory.java
@@ -89,17 +89,17 @@ public class WhitelistedWebsitesPreferen
public void onClick(DialogInterface dialog, int which)
{
removeWhitelistedWebsite(url);
}
});
this.addPreference(whitelistedWebsitePreference);
}
- final UrlInputOpenerPreference urlPreference = new UrlInputOpenerPreference(this.getContext());
+ final UrlInputOpenerPreference urlPreference = new UrlInputOpenerPreference(this.getContext(), true);
urlPreference.setTitle(R.string.whitelisted_websites_add_button);
urlPreference.setDialogTitle(R.string.whitelist_website_dialog_title);
urlPreference.setDialogMessage(R.string.whitelist_website_dialog_message);
urlPreference.getEditText().setHint(R.string.whitelist_website_dialog_hint);
urlPreference.setOnUrlReadyListener(new UrlInputOpenerPreference.OnUrlReadyListener()
{
@Override
public void onUrlReady(String url)

Powered by Google App Engine
This is Rietveld