Bug 1393072 - Only tint light color for menu icons in private mode in large tablet. r?nechen
The tint logic for menu icons on different devices is:
Normal mode:
1. Mobile & small tablet -> dark color(#272727)
2. Large tablet -> dark color(#272727)
Private mode:
1. Mobile & small tablet -> dark color(#272727)
2. Large tablet -> light color(#38383D)
MozReview-Commit-ID: 9cz53PieQHY
--- a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
+++ b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
@@ -3715,17 +3715,17 @@ public class BrowserApp extends GeckoApp
} else {
return DrawableUtil.tintDrawable(this, R.drawable.ic_menu_bookmark_add, tint);
}
}
private int resolveMenuIconTint(final boolean isPrivate) {
final int tintResId;
- if (isPrivate && HardwareUtils.isTablet()) {
+ if (isPrivate && HardwareUtils.isLargeTablet()) {
tintResId = R.color.menu_item_tint_private;
} else {
tintResId = R.color.menu_item_tint;
}
return ResourcesCompat.getColor(getResources(), tintResId, null);
}
private int resolveBookmarkTitleID(final boolean isBookmark) {