[Android] Finish activity on Dialog dismiss
Geoffrey Métais
git at videolan.org
Wed Feb 3 19:13:02 CET 2016
vlc-android | branch: dialog | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb 3 19:12:24 2016 +0100| [fc1ae582dc0da7d80de3e713e498b63ad776f5f3] | committer: Geoffrey Métais
Finish activity on Dialog dismiss
> https://code.videolan.org/videolan/vlc-android/commit/fc1ae582dc0da7d80de3e713e498b63ad776f5f3
---
vlc-android/src/org/videolan/vlc/gui/dialogs/VLCDialog.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/VLCDialog.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/VLCDialog.java
index 7d0f2fd..dd4e1ed 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/VLCDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/VLCDialog.java
@@ -54,6 +54,7 @@ public class VLCDialog<T extends Dialog> extends DialogFragment {
public void onDestroy() {
super.onDestroy();
mVlcDialog.dismiss();
+ getActivity().finish();
}
}
More information about the Android
mailing list