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

Commit 34bd56b5 authored by Alan Viverette's avatar Alan Viverette
Browse files

Propagate first call to DrawableContainer.setAlpha() to children

BUG: 12530662
Change-Id: Idd972698d1a6805cb9f66ba4c2ddde97e1f8d2ca
parent 4a5eb8fe
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -120,9 +120,8 @@ public class DrawableContainer extends Drawable implements Drawable.Callback {

    @Override
    public void setAlpha(int alpha) {
        if (!mHasAlpha || mAlpha != alpha) {
            mHasAlpha = true;

        if (mAlpha != alpha) {
            mAlpha = alpha;
            if (mCurrDrawable != null) {
                if (mEnterAnimationEnd == 0) {