diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 6468994..daf2779 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -30,7 +30,7 @@ - + diff --git a/src/com/upc/pbe/upcnews/Directoris.java b/src/com/upc/pbe/upcnews/Directoris.java index 5cc7f2f..c8e06db 100644 --- a/src/com/upc/pbe/upcnews/Directoris.java +++ b/src/com/upc/pbe/upcnews/Directoris.java @@ -7,6 +7,7 @@ import java.util.concurrent.ExecutionException; import android.app.Activity; import android.content.Intent; +import android.content.res.Configuration; import android.os.Bundle; import android.util.Log; import android.view.KeyEvent; @@ -202,4 +203,8 @@ public class Directoris extends Activity implements OnItemClickListener return false; } } + @Override + public void onConfigurationChanged(Configuration newConfig) { + super.onConfigurationChanged(newConfig); + } } \ No newline at end of file diff --git a/src/com/upc/pbe/upcnews/HLS.java b/src/com/upc/pbe/upcnews/HLS.java index de9ba5d..0e0de9d 100644 --- a/src/com/upc/pbe/upcnews/HLS.java +++ b/src/com/upc/pbe/upcnews/HLS.java @@ -56,6 +56,8 @@ public class HLS { return null; } + currentQuality = 0; + currentSegment = 0; loadVideo(); } Segment seg = segments.get(currentSegment++);