[Android] VideoListFragment: do not use super.onCreateContextMenu when not necessary

Jean-Baptiste Kempf git at videolan.org
Wed Aug 8 16:11:18 CEST 2012


android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug  8 15:38:15 2012 +0200| [2931e46cbb8cd014d83fb413876ffc9f4ba99b33] | committer: Jean-Baptiste Kempf

VideoListFragment: do not use super.onCreateContextMenu when not necessary

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=2931e46cbb8cd014d83fb413876ffc9f4ba99b33
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java |    2 --
 1 file changed, 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java
index d8b473f..6b18f13 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java
@@ -142,8 +142,6 @@ public class VideoListFragment extends SherlockListFragment implements ISortable
 
     @Override
     public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
-        super.onCreateContextMenu(menu, v, menuInfo);
-
         MenuInflater inflater = getActivity().getMenuInflater();
         inflater.inflate(R.menu.video_list, menu);
     }



More information about the Android mailing list