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

Commit 6b471995 authored by Doris Liu's avatar Doris Liu
Browse files

Make sure transform matrix is applied when hardware layer is re-created

Bug: 11168275
Change-Id: I9234a2efc7580d27ac8b7f0e60ceed7df23f5f25
parent 8f72b403
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -246,6 +246,9 @@ public class TextureView extends View {
            mSurface = null;
            mLayer = null;

            // Make sure if/when new layer gets re-created, transform matrix will
            // be re-applied.
            mMatrixChanged = true;
            mHadSurface = true;
        }
    }