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

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

Merge "Don't update TextureView's surface if the Layer doesn't exist"

parents bc896be5 a8a2f97c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -187,9 +187,11 @@ public class TextureView extends View {
    public void setOpaque(boolean opaque) {
        if (opaque != mOpaque) {
            mOpaque = opaque;
            if (mLayer != null) {
                updateLayer();
            }
        }
    }

    @Override
    protected void onAttachedToWindow() {