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

Commit 498486e0 authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Reset stored background resource when setting a bg color"

parents 62d3a7b7 f6ae4b89
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -14465,6 +14465,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        if (mBackground instanceof ColorDrawable) {
            ((ColorDrawable) mBackground.mutate()).setColor(color);
            computeOpaqueFlags();
            mBackgroundResource = 0;
        } else {
            setBackground(new ColorDrawable(color));
        }