[Android] Extensions connection for debug builds only
Geoffrey Métais
git at videolan.org
Mon Aug 7 17:55:08 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Aug 7 16:55:44 2017 +0200| [52897424046c45344a26a0a5c1246956ea9cff0f] | committer: Geoffrey Métais
Extensions connection for debug builds only
> https://code.videolan.org/videolan/vlc-android/commit/52897424046c45344a26a0a5c1246956ea9cff0f
---
vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index dd3e1bd52..3040decee 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -259,7 +259,8 @@ public class MainActivity extends ContentActivity implements FilterQueryProvider
@Override
protected void onStart() {
super.onStart();
- createExtensionServiceConnection();
+ if (BuildConfig.DEBUG)
+ createExtensionServiceConnection();
}
@Override
More information about the Android
mailing list