another small step towards fixing [2501808] sapphire: OOM in GPU Surface area
release the Surface in SurfaceView when it's not visible, after it comes back from relayout(), it should not be holding buffers at this point, but it's cleaner to have it in the released state. also log a warning in Surface.finalize() when there is work to do, as it means Surface.release() wasn't called when it should have. Change-Id: Id637d4ec2916d8fd800b0344d8dec6cecce02051
Loading
Please register or sign in to comment