Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-Android
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
321
Issues
321
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
VLC-Android
Commits
6e7d1a1d
Commit
6e7d1a1d
authored
Apr 06, 2017
by
Geoffrey Métais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused parameter
parent
b5625bff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
vlc-android/src/org/videolan/vlc/MediaParsingService.java
vlc-android/src/org/videolan/vlc/MediaParsingService.java
+2
-3
No files found.
vlc-android/src/org/videolan/vlc/MediaParsingService.java
View file @
6e7d1a1d
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment