summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Choc <tedchoc@google.com>2014-12-01 10:54:55 -0800
committerTed Choc <tedchoc@google.com>2014-12-01 18:55:39 +0000
commit617e2582ad359108a963035b35c526f55419818d (patch)
tree51437687f2c05ccab5d68aee759e5df21f37d9ed
parent278c933679489e3038ba3bd24eff4ace5fafba1c (diff)
downloadchromium_src-617e2582ad359108a963035b35c526f55419818d.zip
chromium_src-617e2582ad359108a963035b35c526f55419818d.tar.gz
chromium_src-617e2582ad359108a963035b35c526f55419818d.tar.bz2
[Android] Fix cherrypick of check state menu.
blue_mode_tint does not exist on m40, so switched back to default_button_tint. BUG=436286 R=kerz@chromium.org TBR=kkimlabs@chromium.org Review URL: https://codereview.chromium.org/772603002 Cr-Commit-Position: refs/branch-heads/2214@{#166} Cr-Branched-From: 03655fd3f6d72165dc3c9bd2c89807305316fe6c-refs/heads/master@{#303346}
-rw-r--r--chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java b/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java
index 95ae227..9bf78d4 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java
@@ -320,7 +320,7 @@ class AppMenuAdapter extends BaseAdapter {
button.setImageDrawable(item.getIcon());
item.getIcon().setLevel(currentLevel);
if (item.isChecked()) {
- button.setTint(button.getResources().getColorStateList(R.color.blue_mode_tint));
+ button.setTint(button.getResources().getColorStateList(R.color.button_tint_menu));
}
button.setEnabled(item.isEnabled());
button.setFocusable(item.isEnabled());
@@ -451,4 +451,4 @@ class AppMenuAdapter extends BaseAdapter {
public TextView title;
public TintedImageButton button;
}
-} \ No newline at end of file
+}