Commit 1be153e7 authored by jkrcal's avatar jkrcal Committed by Commit bot

Change src tag in requests to favicon service from Android NTP.

The previous src tag collides with the one used by desktop NTP (in the
remote NTP).

BUG=626235

Review-Url: https://codereview.chromium.org/2125133004
Cr-Commit-Position: refs/heads/master@{#404613}
parent bb8b1861
......@@ -43,7 +43,7 @@ public class SnippetArticleViewHolder extends CardViewHolder {
private static final int FADE_IN_ANIMATION_TIME_MS = 300;
private static final int[] FAVICON_SERVICE_SUPPORTED_SIZES = {16, 24, 32, 48, 64};
private static final String FAVICON_SERVICE_FORMAT =
"https://s2.googleusercontent.com/s2/favicons?domain=%s&src=chrome_newtab&sz=%d&alt=404";
"https://s2.googleusercontent.com/s2/favicons?domain=%s&src=chrome_newtab_mobile&sz=%d&alt=404";
// The variation parameter to fetch the value from the favicon service.
private static final String PARAMETER_FAVICON_SERVICE_NAME = "favicons_fetch_from_service";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment