Commit 0c096ba8 authored by Pedro Amaral's avatar Pedro Amaral Committed by Commit Bot

Don't enable bottom toolbar button if it is empty

Bug: 877437
Change-Id: Id444baf870a3b9b4942f57bedb0d3b275e29ba81
Reviewed-on: https://chromium-review.googlesource.com/1191133Reviewed-by: default avatarMatthew Jones <mdjones@chromium.org>
Commit-Queue: Pedro Amaral <amaralp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586384}
parent e4d9494e
......@@ -109,7 +109,7 @@ class ToolbarButtonSlotData {
@Override
public void onAnimationEnd(Animator animator) {
imageButton.setEnabled(true);
if (mDrawable != null) imageButton.setEnabled(true);
}
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment