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

Unified Diff: src/org/adblockplus/sbrowser/contentblocker/UrlInputOpenerPreference.java

Issue 29422622: Issue 5173 - ABP Samsung Internet fails to initialise on Android 5.0.1 (Closed)
Patch Set: Created April 26, 2017, 1:57 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/sbrowser/contentblocker/UrlInputOpenerPreference.java
===================================================================
--- a/src/org/adblockplus/sbrowser/contentblocker/UrlInputOpenerPreference.java
+++ b/src/org/adblockplus/sbrowser/contentblocker/UrlInputOpenerPreference.java
@@ -127,17 +127,17 @@ public class UrlInputOpenerPreference ex
final Drawable drawable = ContextCompat.getDrawable(getContext(), iconResId);
setIcon(drawable);
}
public void setIcon(Drawable icon)
{
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB)
{
- super.setIcon(android.R.drawable.ic_menu_add);
+ super.setIcon(icon);
}
}
public void setOnUrlReadyListener(OnUrlReadyListener listener)
{
this.onUrlReadyListener = listener;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld