Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
62ca25d6
Commit
62ca25d6
authored
Sep 01, 2014
by
Edward Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DirectoryViewFragment: return true when handling event cases
parent
ea2758a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vlc-android/src/org/videolan/vlc/gui/DirectoryViewFragment.java
...droid/src/org/videolan/vlc/gui/DirectoryViewFragment.java
+3
-0
No files found.
vlc-android/src/org/videolan/vlc/gui/DirectoryViewFragment.java
View file @
62ca25d6
...
...
@@ -146,10 +146,13 @@ public class DirectoryViewFragment extends ListFragment implements ISortable {
}
});
alertDialog
.
show
();
return
true
;
}
else
if
(
id
==
R
.
id
.
directory_view_play_audio
)
{
AudioServiceController
.
getInstance
().
load
(
mediaLocation
,
true
);
return
true
;
}
else
if
(
id
==
R
.
id
.
directory_view_play_video
)
{
VideoPlayerActivity
.
start
(
getActivity
(),
mediaLocation
);
return
true
;
}
return
super
.
onContextItemSelected
(
item
);
}
...
...
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