[Android] Dismiss dialog on action

Geoffrey Métais git at videolan.org
Thu Jul 7 18:02:01 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jul  7 18:01:25 2016 +0200| [4b250c753253aff0a74ba10c6432a141b4a7b7b1] | committer: Geoffrey Métais

Dismiss dialog on action

> https://code.videolan.org/videolan/vlc-android/commit/4b250c753253aff0a74ba10c6432a141b4a7b7b1
---

 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