mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
Bug 968180 - Favicons in URL bar are not fetched after changing an option in settings menu (backout bug 934658). r=mfinkle
This commit is contained in:
parent
1f47656548
commit
605c1f0faa
@ -150,11 +150,8 @@ public class ToolbarDisplayLayout extends GeckoLinearLayout
|
||||
mPrivateDomainColor = new ForegroundColorSpan(res.getColor(R.color.url_bar_domaintext_private));
|
||||
|
||||
mFavicon = (ImageButton) findViewById(R.id.favicon);
|
||||
if (Build.VERSION.SDK_INT >= 11) {
|
||||
if (Build.VERSION.SDK_INT >= 16) {
|
||||
mFavicon.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO);
|
||||
}
|
||||
mFavicon.setLayerType(View.LAYER_TYPE_HARDWARE, null);
|
||||
if (Build.VERSION.SDK_INT >= 16) {
|
||||
mFavicon.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO);
|
||||
}
|
||||
mFaviconSize = Math.round(res.getDimension(R.dimen.browser_toolbar_favicon_size));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user