[Android] VideoPlayerActivity: print the id of the unhandled event

Ludovic Fauvet git at videolan.org
Thu Oct 4 15:23:44 CEST 2012


vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Thu Oct  4 15:19:08 2012 +0200| [46d09de3f09a00877521573f643cde154d890444] | committer: Ludovic Fauvet

VideoPlayerActivity: print the id of the unhandled event

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java |    2 +-
 1 file changed, 1 insertion(+), 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 63aff28..94a501e 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -602,7 +602,7 @@ public class VideoPlayerActivity extends Activity {
                     activity.handleVout(msg);
                     break;
                 default:
-                    Log.e(TAG, "Event not handled");
+                    Log.e(TAG, String.format("Event not handled (0x%x)", msg.getData().getInt("event")));
                     break;
             }
             activity.updateOverlayPausePlay();



More information about the Android mailing list