Commit 6e7d1a1d authored by Geoffrey Métais's avatar Geoffrey Métais

Remove unused parameter

parent b5625bff
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment