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
Packages & Registries
Packages & Registries
Container Registry
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
Casanowow Life for love
VLC-Android
Commits
6c1401b8
Commit
6c1401b8
authored
Aug 03, 2012
by
Edward Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: Check for null in AudioListFragment.onContextMenuItemSelected()
parent
a758a87f
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/audio/AudioListFragment.java
...oid/src/org/videolan/vlc/gui/audio/AudioListFragment.java
+3
-0
No files found.
vlc-android/src/org/videolan/vlc/gui/audio/AudioListFragment.java
View file @
6c1401b8
...
...
@@ -162,6 +162,9 @@ public class AudioListFragment extends SherlockListFragment {
@Override
public
boolean
onContextItemSelected
(
MenuItem
item
)
{
AdapterContextMenuInfo
menuInfo
=
(
AdapterContextMenuInfo
)
item
.
getMenuInfo
();
if
(
menuInfo
==
null
)
// getMenuInfo can be NULL
return
super
.
onContextItemSelected
(
item
);
int
startPosition
;
List
<
String
>
medias
;
int
id
=
item
.
getItemId
();
...
...
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