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

Commit 99b35347 authored by Chris Craik's avatar Chris Craik Committed by Android (Google) Code Review
Browse files

Merge "Ensure setLayerType pushes Paint changes"

parents 465f30b3 0ebe0726
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -13620,11 +13620,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        }
        if (layerType == mLayerType) {
            if (layerType != LAYER_TYPE_NONE && paint != mLayerPaint) {
                mLayerPaint = paint == null ? new Paint() : paint;
                invalidateParentCaches();
                invalidate(true);
            }
            setLayerPaint(paint);
            return;
        }