Fix tutorial 5 seeking to last position after opening new media

This commit is contained in:
Xavi Artigas 2012-11-05 13:37:27 +01:00
parent 2635e59fb4
commit 89e5a89fe6

View file

@ -285,6 +285,7 @@ public class Tutorial5 extends Activity implements SurfaceHolder.Callback, OnSee
{
if (resultCode == RESULT_OK && requestCode == PICK_FILE_CODE) {
mediaUri = "file://" + data.getStringExtra(FileDialog.RESULT_PATH);
position = 0;
setMediaUri();
}
}