Loading core/java/android/view/SurfaceView.java +3 −1 Original line number Diff line number Diff line Loading @@ -600,9 +600,11 @@ public class SurfaceView extends View { // surfaceDestroyed and surfaceCreated, we force a disconnect, // so the next connect will always work if we end up reusing // the surface. if (mSurface.isValid()) { mSurface.forceScopedDisconnect(); } } } mSurface.transferFrom(mNewSurface); if (visible && mSurface.isValid()) { Loading Loading
core/java/android/view/SurfaceView.java +3 −1 Original line number Diff line number Diff line Loading @@ -600,9 +600,11 @@ public class SurfaceView extends View { // surfaceDestroyed and surfaceCreated, we force a disconnect, // so the next connect will always work if we end up reusing // the surface. if (mSurface.isValid()) { mSurface.forceScopedDisconnect(); } } } mSurface.transferFrom(mNewSurface); if (visible && mSurface.isValid()) { Loading