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

Unified Diff: mobile/android/search/java/org/mozilla/search/PreSearchFragment.java

Issue 29479633: Issue 2606 - Firefox logo shown in background on empty Adblock Browser New Tab and Search pages (Closed)
Patch Set: Created July 4, 2017, 7:50 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 | « mobile/android/base/resources/drawable-xxhdpi/icon_search_empty_firefox.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mobile/android/search/java/org/mozilla/search/PreSearchFragment.java
===================================================================
--- a/mobile/android/search/java/org/mozilla/search/PreSearchFragment.java
+++ b/mobile/android/search/java/org/mozilla/search/PreSearchFragment.java
@@ -177,17 +177,18 @@ public class PreSearchFragment extends F
if (c != null && c.getCount() > 0) {
return;
}
if (emptyView == null) {
final ViewStub emptyViewStub = (ViewStub) getView().findViewById(R.id.empty_view_stub);
emptyView = emptyViewStub.inflate();
- ((ImageView) emptyView.findViewById(R.id.empty_image)).setImageResource(R.drawable.icon_search_empty_firefox);
+ // Changed icon. See https://issues.adblockplus.org/ticket/2606
+ ((ImageView) emptyView.findViewById(R.id.empty_image)).setImageResource(R.drawable.abb_icon_search_empty);
((TextView) emptyView.findViewById(R.id.empty_title)).setText(R.string.search_empty_title);
((TextView) emptyView.findViewById(R.id.empty_message)).setText(R.string.search_empty_message);
listView.setEmptyView(emptyView);
}
}
private class SearchHistoryLoaderCallbacks implements LoaderManager.LoaderCallbacks<Cursor> {
« no previous file with comments | « mobile/android/base/resources/drawable-xxhdpi/icon_search_empty_firefox.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld