Commit 50c012ead365de1a5475bdc125d4407e92915b69
1 parent
cb06119f
Bug de HLS y al girar la actividad Directoris fixed
Showing
3 changed files
with
8 additions
and
1 deletions
AndroidManifest.xml
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | </activity> |
31 | 31 | <activity android:name=".Help" android:configChanges="orientation"> |
32 | 32 | </activity> |
33 | - <activity android:name=".Directoris" > | |
33 | + <activity android:name=".Directoris" android:configChanges="orientation"> | |
34 | 34 | </activity> |
35 | 35 | <activity android:name=".VideoActivity" android:theme="@style/FullScreen" android:configChanges="orientation"> |
36 | 36 | </activity> | ... | ... |
src/com/upc/pbe/upcnews/Directoris.java
... | ... | @@ -7,6 +7,7 @@ import java.util.concurrent.ExecutionException; |
7 | 7 | |
8 | 8 | import android.app.Activity; |
9 | 9 | import android.content.Intent; |
10 | +import android.content.res.Configuration; | |
10 | 11 | import android.os.Bundle; |
11 | 12 | import android.util.Log; |
12 | 13 | import android.view.KeyEvent; |
... | ... | @@ -202,4 +203,8 @@ public class Directoris extends Activity implements OnItemClickListener |
202 | 203 | return false; |
203 | 204 | } |
204 | 205 | } |
206 | + @Override | |
207 | + public void onConfigurationChanged(Configuration newConfig) { | |
208 | + super.onConfigurationChanged(newConfig); | |
209 | + } | |
205 | 210 | } |
206 | 211 | \ No newline at end of file | ... | ... |