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
1978a18b
Commit
1978a18b
authored
Jan 31, 2018
by
Geoffrey Métais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MediaWrapperList: send event on media added
parent
c4e00976
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vlc-android/src/org/videolan/vlc/media/MediaWrapperList.java
vlc-android/src/org/videolan/vlc/media/MediaWrapperList.java
+1
-0
No files found.
vlc-android/src/org/videolan/vlc/media/MediaWrapperList.java
View file @
1978a18b
...
...
@@ -52,6 +52,7 @@ public class MediaWrapperList {
public
synchronized
void
add
(
MediaWrapper
media
)
{
mInternalList
.
add
(
media
);
signalEventListeners
(
EVENT_ADDED
,
mInternalList
.
size
()-
1
,
-
1
,
media
.
getLocation
());
if
(
media
.
getType
()
==
MediaWrapper
.
TYPE_VIDEO
)
++
mVideoCount
;
}
...
...
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