Bug 1197413 - Don't change alpha when disabling tablet nav buttons. r=sebastian

The enabled/disabled colors are set via ColorStateLists so the alpha
is unnecessary.
This commit is contained in:
Michael Comella 2015-08-21 17:17:24 -07:00
parent 829ec864c8
commit 8c4b4f0340

View File

@ -173,11 +173,6 @@ abstract class BrowserToolbarTabletBase extends BrowserToolbar {
}
protected static void setButtonEnabled(final ImageButton button, final boolean enabled) {
final Drawable drawable = button.getDrawable();
if (drawable != null) {
drawable.setAlpha(enabled ? 255 : 61);
}
button.setEnabled(enabled);
}
}