Can SurfaceView be reused after MediaPlayer.release()?
Suppose we have the following (from Android ApiDemos): 

    <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <SurfaceView android:id="@+id/surface"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center">
    </SurfaceView>
  
</LinearLayout>

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

The code is like the following:

    	mPreview = (SurfaceView) findViewById(R.id.surface);
	holder = mPreview.getHolder();
	holder.addCallback(this);
			
	mMediaPlayer = new MediaPlayer();
	MediaPlayer.setDataSource(url);

	mMediaPlayer.setDisplay(holder);


Can SurfaceView be reused after MediaPlayer.release()?
===

Suppose we have the following (from Android ApiDemos): 

    <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <SurfaceView android:id="@+id/surface"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center">
    </SurfaceView>
  
</LinearLayout>

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

The code is like the following:

    	mPreview = (SurfaceView) findViewById(R.id.surface);
	holder = mPreview.getHolder();
	holder.addCallback(this);
			
	mMediaPlayer = new MediaPlayer();
	MediaPlayer.setDataSource(url);

	mMediaPlayer.setDisplay(holder);

