[Android] Dismiss dialog on action

Geoffrey Métais git at videolan.org
Sat Jul 16 19:38:55 CEST 2016


vlc-android | branch: 2.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jul  7 18:01:25 2016 +0200| [620c082f7f275cb9a765fecd32bb77b4742708ec] | committer: Jean-Baptiste Kempf

Dismiss dialog on action

(cherry picked from commit 4b250c753253aff0a74ba10c6432a141b4a7b7b1)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> https://code.videolan.org/videolan/vlc-android/commit/620c082f7f275cb9a765fecd32bb77b4742708ec
---

 vlc-android/src/org/videolan/vlc/gui/dialogs/VlcQuestionDialog.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/VlcQuestionDialog.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/VlcQuestionDialog.java
index 9e04256..25171cb 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/VlcQuestionDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/VlcQuestionDialog.java
@@ -38,9 +38,11 @@ public class VlcQuestionDialog extends VlcDialog<Dialog.QuestionDialog, VlcQuest
 
     public void onAction1(View v) {
         mVlcDialog.postAction(1);
+        dismiss();
     }
 
     public void onAction2(View v) {
         mVlcDialog.postAction(2);
+        dismiss();
     }
 }



More information about the Android mailing list