[Android] Enable SMB discovery for release builds
Geoffrey Métais
git at videolan.org
Tue Feb 2 13:55:15 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb 2 13:49:14 2016 +0100| [6d3fe851c42eb2b5098ebb3a04f5fb8402be5cfe] | committer: Geoffrey Métais
Enable SMB discovery for release builds
> https://code.videolan.org/videolan/vlc-android/commit/6d3fe851c42eb2b5098ebb3a04f5fb8402be5cfe
---
vlc-android/src/org/videolan/vlc/util/Util.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/util/Util.java b/vlc-android/src/org/videolan/vlc/util/Util.java
index 4da13a5..faf4685 100644
--- a/vlc-android/src/org/videolan/vlc/util/Util.java
+++ b/vlc-android/src/org/videolan/vlc/util/Util.java
@@ -28,7 +28,6 @@ import android.content.pm.ResolveInfo;
import org.videolan.libvlc.util.AndroidUtil;
import org.videolan.libvlc.util.MediaBrowser;
-import org.videolan.vlc.BuildConfig;
import org.videolan.vlc.VLCApplication;
import java.io.BufferedReader;
@@ -94,10 +93,8 @@ public class Util {
return list.size() > 0;
}
- public static final MediaBrowser.Discover NETWORK_DISCOVER_LIST[] = BuildConfig.DEBUG ?new MediaBrowser.Discover[] {
+ public static final MediaBrowser.Discover NETWORK_DISCOVER_LIST[] = new MediaBrowser.Discover[] {
MediaBrowser.Discover.UPNP,
MediaBrowser.Discover.SMB,
- } : new MediaBrowser.Discover[] {
- MediaBrowser.Discover.UPNP,
};
}
More information about the Android
mailing list