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

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

Merge "Prevent TextureView from ever setting a null layer paint"

parents 178e8bbf c2079c96
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ public class TextureView extends View {
    @Override
    public void setLayerType(int layerType, Paint paint) {
        if (paint != mLayerPaint) {
            mLayerPaint = paint;
            mLayerPaint = paint == null ? new Paint() : paint;
            invalidate();
        }
    }