[Android] Adjustments to UI changes in the upstream

Chromium change:
https://chromium-review.googlesource.com/c/chromium/src/+/3283625

Clean up legacy non-ThemeRefactorAndroid code now that the feature has
launched.

Bug: 1251194
This commit is contained in:
samartnik
2022-01-24 15:34:05 -05:00
committed by mkarolin
parent 470bff2c5c
commit 56193fe255
3 changed files with 5 additions and 5 deletions
@@ -17,7 +17,7 @@ import org.chromium.chrome.tab_ui.R;
public class BraveTabUiThemeProvider {
@ColorInt
public static int getTitleTextColor(Context context, boolean isIncognito, boolean isSelected) {
if (TabUiThemeProvider.themeRefactorEnabled() && isSelected) {
if (isSelected) {
return ApiCompatibilityUtils.getColor(
context.getResources(), R.color.baseline_neutral_900);
}
@@ -27,7 +27,7 @@ public class BraveTabUiThemeProvider {
public static ColorStateList getActionButtonTintList(
Context context, boolean isIncognito, boolean isSelected) {
if (TabUiThemeProvider.themeRefactorEnabled() && isSelected) {
if (isSelected) {
return AppCompatResources.getColorStateList(context, R.color.baseline_neutral_900);
}