[Android] Tracks & Subtitles : Canceled on touch outside

Alexandre Perraud git at videolan.org
Tue Oct 30 13:58:55 CET 2012


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue Oct 30 13:33:29 2012 +0100| [b1a1d26fd539c0421ffceafbe45300f6c8995a9e] | committer: Ludovic Fauvet

Tracks & Subtitles : Canceled on touch outside

Signed-off-by: Ludovic Fauvet <etix at videolan.org>

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index c659b5c..23d89ab 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -885,6 +885,7 @@ public class VideoPlayerActivity extends Activity {
                 }
             })
             .create();
+            dialog.setCanceledOnTouchOutside(true);
             final ListView lv = dialog.getListView();
             lv.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
             //FIXME We should not force background color
@@ -916,7 +917,7 @@ public class VideoPlayerActivity extends Activity {
                 }
             })
             .create();
-
+            dialog.setCanceledOnTouchOutside(true);
             final ListView lv = dialog.getListView();
             lv.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
             //FIXME We should not force background color



More information about the Android mailing list