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

Commit 28f4ee5f authored by John Reck's avatar John Reck Committed by android-build-merger
Browse files

Fix maps resume being blank am: 03df0834

am: 08669fff

Change-Id: If87b076b6c03b7018485ddd4438aeaac7abd1562
parents 070628ce 08669fff
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -379,9 +379,9 @@ public class TextureView extends View {
            if (createNewSurface) {
            if (createNewSurface) {
                // Create a new SurfaceTexture for the layer.
                // Create a new SurfaceTexture for the layer.
                mSurface = new SurfaceTexture(false);
                mSurface = new SurfaceTexture(false);
                mLayer.setSurfaceTexture(mSurface);
                nCreateNativeWindow(mSurface);
                nCreateNativeWindow(mSurface);
            }
            }
            mLayer.setSurfaceTexture(mSurface);
            mSurface.setDefaultBufferSize(getWidth(), getHeight());
            mSurface.setDefaultBufferSize(getWidth(), getHeight());
            mSurface.setOnFrameAvailableListener(mUpdateListener, mAttachInfo.mHandler);
            mSurface.setOnFrameAvailableListener(mUpdateListener, mAttachInfo.mHandler);