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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
0a2ed7fa
Commit
0a2ed7fa
authored
Feb 27, 2017
by
Geoffrey Métais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show scan notification immediately
parent
0d9005d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
vlc-android/src/org/videolan/vlc/MediaParsingService.java
vlc-android/src/org/videolan/vlc/MediaParsingService.java
+1
-4
No files found.
vlc-android/src/org/videolan/vlc/MediaParsingService.java
View file @
0a2ed7fa
...
...
@@ -43,7 +43,7 @@ public class MediaParsingService extends Service implements DevicesDiscoveryCb {
private
Medialibrary
mMedialibrary
;
private
int
mParsing
=
0
,
mReload
=
0
;
private
String
mCurrentDiscovery
=
null
;
private
long
mLastNotificationTime
;
private
long
mLastNotificationTime
=
0L
;
private
BroadcastReceiver
mReceiver
=
new
BroadcastReceiver
()
{
@Override
public
void
onReceive
(
Context
context
,
Intent
intent
)
{
...
...
@@ -77,9 +77,6 @@ public class MediaParsingService extends Service implements DevicesDiscoveryCb {
filter
.
addAction
(
ACTION_PAUSE_SCAN
);
filter
.
addAction
(
ACTION_RESUME_SCAN
);
registerReceiver
(
mReceiver
,
filter
);
synchronized
(
this
)
{
mLastNotificationTime
=
System
.
currentTimeMillis
();
}
mMedialibrary
.
addDeviceDiscoveryCb
(
MediaParsingService
.
this
);
switch
(
intent
.
getAction
())
{
case
ACTION_INIT:
...
...
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