[Android] AudioService: add debug counterpart for invalid location message

Edward Wang git at videolan.org
Sat May 25 23:38:54 CEST 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sat May 25 14:16:06 2013 -0400| [a379d801c9f5666046c758d369964c15509ba4d3] | committer: Edward Wang

AudioService: add debug counterpart for invalid location message

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

 vlc-android/src/org/videolan/vlc/AudioService.java |    1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/AudioService.java b/vlc-android/src/org/videolan/vlc/AudioService.java
index 2664323..f991045 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -859,6 +859,7 @@ public class AudioService extends Service {
                     Media media = db.getMedia(AudioService.this, location);
                     if(media == null) {
                         if(!validateLocation(location)) {
+                            Log.w(TAG, "Invalid location " + location);
                             showToast(getResources().getString(R.string.invalid_location, location), Toast.LENGTH_SHORT);
                             continue;
                         }



More information about the Android mailing list