title: MediaPlayer jumps to last seekTo() position
body: <p>When I call seekTo() method on the media player the file is played from the correct location and it works well but once the playback is done I expect it to return to "0", instead it returns to the location from where I called the seekTo() method.</p>
  
  <p>I'm using a thread that samples the current position every 500ms and then update my SeekBar with progress. Since the mediaPlayer is going back to the last place I "seeked" - the Seekbar is jumping back to there and it looks bad.</p>
  
  <p>I want it to go back to 0 location once the file is done playing which of course I can set it manually using the OnCompletionListener but this creates a jump to the location I set using seekTo() method and then back to 0.</p>
  
  <p>Here is my code for the progress sampling I'm making:</p>
  
  <pre><code>private void updateProgress() {
      mListenerThread = new Thread(new Runnable() {
          @Override
          public void run() {
              while (isRunning) {
                  int position = mMediaPlayer.getCurrentPosition();
                  mProgressListener.onProgress(position);
                  try {
                      Thread.sleep(500);
                  } catch (InterruptedException e) {
                      mMediaPlayer.seekTo(0);
                      e.printStackTrace();
                  }
              }
          }
      });
      mListenerThread.start();
  }
  </code></pre>