Bug 1389343 - Make default background grey so it can occupied the entire favicon.
MozReview-Commit-ID: 93ZWdpnlIuX
--- a/mobile/android/base/java/org/mozilla/gecko/icons/processing/ColorProcessor.java
+++ b/mobile/android/base/java/org/mozilla/gecko/icons/processing/ColorProcessor.java
@@ -16,17 +16,17 @@ import org.mozilla.gecko.icons.IconRespo
import org.mozilla.gecko.util.HardwareUtils;
/**
* Processor implementation to extract the dominant color from the icon and attach it to the icon
* response object.
*/
public class ColorProcessor implements Processor {
private static final String LOGTAG = "GeckoColorProcessor";
- private static final int DEFAULT_COLOR = 0; // 0 == No color
+ private static final int DEFAULT_COLOR = 0xFFB1B1B3; // 0 == No color, here we use photon color
@Override
public void process(IconRequest request, IconResponse response) {
if (response.hasColor()) {
return;
}
final Bitmap bitmap = response.getBitmap();