@Override public boolean onSurfaceTextureDestroyed(final SurfaceTexture surface) { mHandler.removeSurface(surface.hashCode()); return true; }