title: Can SurfaceView be reused after MediaPlayer.release()?
body: <p>Suppose we have the following (from Android ApiDemos): </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;SurfaceView android:id="@+id/surface"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center"&gt;
  &lt;/SurfaceView&gt;
  </code></pre>
  
  <p></p>
  
  <p>After a MediaPlayer uses the SurfaceView, and its release() is called, can the SurfaceView be reused?
  I have tried to create a new instance of MediaPlayer to reuse the SurfaceView, but the following error occurs at setDisplay():
   java.lang.IllegalArgumentException: The surface has been released</p>
  
  <p>The code is like the following:</p>
  
  <pre><code>    mPreview = (SurfaceView) findViewById(R.id.surface);
  holder = mPreview.getHolder();
  holder.addCallback(this);
  
  mMediaPlayer = new MediaPlayer();
  MediaPlayer.setDataSource(url);
  
  mMediaPlayer.setDisplay(holder);
  </code></pre>