[Android] VideoPlayerActivity: typo and show error dialog

Edward Wang git at videolan.org
Thu Apr 3 02:36:44 CEST 2014


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Wed Apr  2 20:36:33 2014 -0400| [995ac44e1791dda72f508f35c35814d1ef93a68d] | committer: Edward Wang

VideoPlayerActivity: typo and show error dialog

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=995ac44e1791dda72f508f35c35814d1ef93a68d
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 5e6e357..efc238d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1775,7 +1775,8 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
                     }
                 }
             } else {
-                Log.e(TAG, "Couldn't undertstand the intents");
+                Log.e(TAG, "Couldn't understand the intent");
+                encounteredError();
             }
             if(getIntent().getExtras() != null)
                 intentPosition = getIntent().getExtras().getLong("position", -1);



More information about the Android mailing list