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

Unified Diff: mobile/android/base/home/PanelLayout.java

Issue 29341383: Issue 2606 - Firefox logo shown in background on empty Adblock Browser New Tab and Search pages (Closed)
Patch Set: Including drawable resources removal Created May 18, 2016, 8:54 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: mobile/android/base/home/PanelLayout.java
===================================================================
--- a/mobile/android/base/home/PanelLayout.java
+++ b/mobile/android/base/home/PanelLayout.java
@@ -455,21 +455,21 @@ abstract class PanelLayout extends Frame
} else {
textView.setText(text);
}
final String imageUrl = (emptyViewConfig == null) ? null : emptyViewConfig.getImageUrl();
final ImageView imageView = (ImageView) view.findViewById(R.id.home_empty_image);
if (TextUtils.isEmpty(imageUrl)) {
- imageView.setImageResource(R.drawable.icon_home_empty_firefox);
+ imageView.setImageResource(R.drawable.abb_icon_home_empty);
} else {
ImageLoader.with(getContext())
.load(imageUrl)
- .error(R.drawable.icon_home_empty_firefox)
+ .error(R.drawable.abb_icon_home_empty)
.into(imageView);
}
viewState.setEmptyView(view);
}
return view;
}
« no previous file with comments | « mobile/android/base/home/PanelAuthLayout.java ('k') | mobile/android/base/resources/drawable-hdpi/abb_icon_home_empty.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld