Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25d3a437 authored by Jason Monk's avatar Jason Monk
Browse files

Fix crash on bug report

Bug: 26766534
Change-Id: I5b76ac8911eef960028cceb40e54f76ea998024a
parent 313b825f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -76,11 +76,11 @@ public class ButtonDispatcher {
    }

    public int getVisibility() {
        return mVisibility;
        return mVisibility != null ? mVisibility : View.VISIBLE;
    }

    public float getAlpha() {
        return mAlpha;
        return mAlpha != null ? mAlpha : 1;
    }

    public void setImageDrawable(Drawable drawable) {