Commit 9d2a6958fd7d6b487896d0a975014bf6f6b010d7

Authored by Imanol-Mikel Barba Sabariego
1 parent 75ce80b8

Exit videoactivity if segment 404's

src/com/upc/pbe/upcnews/VideoActivity.java
... ... @@ -59,6 +59,8 @@ public class VideoActivity extends Activity
59 59 catch(IOException e)
60 60 {
61 61 Toast.makeText(this, "Can't find segment", Toast.LENGTH_LONG).show();
  62 + super.finish();
  63 + return;
62 64 }
63 65 }
64 66  
... ...