[Android] Video GUI: remove the play function from the context menu

Adrien Maglo git at videolan.org
Mon Mar 17 10:45:01 CET 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Mon Mar 17 10:26:50 2014 +0100| [bf72bbd073796b5f33d29c2922ec10eb94881f7c] | committer: Adrien Maglo

Video GUI: remove the play function from the context menu

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=bf72bbd073796b5f33d29c2922ec10eb94881f7c
---

 vlc-android/res/menu/video_list.xml                               |    3 ---
 vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java |    3 ---
 2 files changed, 6 deletions(-)

diff --git a/vlc-android/res/menu/video_list.xml b/vlc-android/res/menu/video_list.xml
index 3ae29e1..82a7511 100644
--- a/vlc-android/res/menu/video_list.xml
+++ b/vlc-android/res/menu/video_list.xml
@@ -1,9 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <menu xmlns:android="http://schemas.android.com/apk/res/android">
     <item
-        android:id="@+id/video_list_play"
-        android:title="@string/play" />
-    <item
         android:id="@+id/video_list_play_from_start"
         android:title="@string/play_from_start" />
     <item
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
index c37ee35..6db15c6 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -281,9 +281,6 @@ public class VideoGridFragment extends SherlockGridFragment implements ISortable
         Media media = mVideoAdapter.getItem(position);
         switch (menu.getItemId())
         {
-        case R.id.video_list_play:
-            playVideo(media, false);
-            return true;
         case R.id.video_list_play_from_start:
             playVideo(media, true);
             return true;



More information about the Android mailing list