Fix mistake in SurfaceView lifetime refactoring.
When moving the SurfaceControl lifetime to the render-thread callback I also moved the Surface lifetime. There was no reason to do this since the SurfaceView Surface isn't accessed from render-thread. It introduces a small indeterminism in lifetime making a test fail, so we revert it for cleanness. Bug: 142011183 Test: Manual Change-Id: I98a3daf21e7ed598d557046fc5b2e4cfebf1c845
Loading
Please register or sign in to comment