question: public void release ( ) { if ( mMediaPlayer != null ) { if ( mMediaPlayer . isPlaying ( ) ) { mMediaPlayer . stop ( ) ; } mMediaPlayer . reset ( ) ; mMediaPlayer . release ( ) ; } mMediaPlayer = null ; }
target:  A helper function to release the media player and remove it from memory