Update SurfaceManager.java