Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
534
Issue boards
Milestones
Wiki
Code
Merge requests
15
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
38171fc6
Commit
38171fc6
authored
9 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
Nullity check
parent
1e3ce60e
No related branches found
Branches containing commit
Tags
2.5.12
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlc-android/src/org/videolan/vlc/media/MediaUtils.java
+6
-0
6 additions, 0 deletions
vlc-android/src/org/videolan/vlc/media/MediaUtils.java
with
6 additions
and
0 deletions
vlc-android/src/org/videolan/vlc/media/MediaUtils.java
+
6
−
0
View file @
38171fc6
...
...
@@ -70,6 +70,8 @@ public class MediaUtils {
}
public
static
void
openList
(
final
Context
context
,
final
List
<
MediaWrapper
>
list
,
final
int
position
){
if
(
list
==
null
||
list
.
isEmpty
())
return
;
new
DialogCallback
(
context
,
new
DialogCallback
.
Runnable
()
{
@Override
public
void
run
(
PlaybackService
service
)
{
...
...
@@ -79,6 +81,8 @@ public class MediaUtils {
}
public
static
void
openUri
(
final
Context
context
,
final
Uri
uri
){
if
(
uri
==
null
)
return
;
new
DialogCallback
(
context
,
new
DialogCallback
.
Runnable
()
{
@Override
public
void
run
(
PlaybackService
service
)
{
...
...
@@ -88,6 +92,8 @@ public class MediaUtils {
}
public
static
void
openStream
(
final
Context
context
,
final
String
uri
){
if
(
uri
==
null
)
return
;
new
DialogCallback
(
context
,
new
DialogCallback
.
Runnable
()
{
@Override
public
void
run
(
PlaybackService
service
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment