[Android] Remove unused parameter

Geoffrey Métais git at videolan.org
Thu Apr 6 13:57:26 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Apr  6 13:46:15 2017 +0200| [6e7d1a1db947d1e38b80debf2bb7dc2eae8961d7] | committer: Geoffrey Métais

Remove unused parameter

> https://code.videolan.org/videolan/vlc-android/commit/6e7d1a1db947d1e38b80debf2bb7dc2eae8961d7
---

 vlc-android/src/org/videolan/vlc/MediaParsingService.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/MediaParsingService.java b/vlc-android/src/org/videolan/vlc/MediaParsingService.java
index 44cdb4b..8955755 100644
--- a/vlc-android/src/org/videolan/vlc/MediaParsingService.java
+++ b/vlc-android/src/org/videolan/vlc/MediaParsingService.java
@@ -99,8 +99,7 @@ public class MediaParsingService extends Service implements DevicesDiscoveryCb {
         mMedialibrary.addDeviceDiscoveryCb(MediaParsingService.this);
         switch (intent.getAction()) {
             case ACTION_INIT:
-                setupMedialibrary(intent.getBooleanExtra(StartActivity.EXTRA_FIRST_RUN, false),
-                        intent.getBooleanExtra(StartActivity.EXTRA_UPGRADE, false));
+                setupMedialibrary(intent.getBooleanExtra(StartActivity.EXTRA_UPGRADE, false));
                 break;
             case ACTION_RELOAD:
                 reload();
@@ -153,7 +152,7 @@ public class MediaParsingService extends Service implements DevicesDiscoveryCb {
         mMedialibrary.reload();
     }
 
-    private void setupMedialibrary(final boolean firstRun, final boolean upgrade) {
+    private void setupMedialibrary(final boolean upgrade) {
         if (mMedialibrary.isInitiated())
             mMedialibrary.resumeBackgroundOperations();
         else



More information about the Android mailing list