[Android] Use public Dialog class instead of IdDialog

Geoffrey Métais git at videolan.org
Wed Feb 3 17:17:10 CET 2016


vlc-android | branch: dialog | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb  3 17:16:31 2016 +0100| [bf4f95516d527e50e7623e7f462eece308f3b095] | committer: Geoffrey Métais

Use public Dialog class instead of IdDialog

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

 vlc-android/src/org/videolan/vlc/VLCApplication.java        | 2 +-
 vlc-android/src/org/videolan/vlc/gui/dialogs/VLCDialog.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/VLCApplication.java b/vlc-android/src/org/videolan/vlc/VLCApplication.java
index 56261f9..335d927 100644
--- a/vlc-android/src/org/videolan/vlc/VLCApplication.java
+++ b/vlc-android/src/org/videolan/vlc/VLCApplication.java
@@ -205,7 +205,7 @@ public class VLCApplication extends Application {
         }
     };
 
-    private void fireDialog(Dialog.IdDialog dialog, String key) {
+    private void fireDialog(Dialog dialog, String key) {
         storeData(key, dialog);
         startActivity(new Intent(instance, DialogActivity.class).setAction(key));
     }
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 2d8c33c..7d0f2fd 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/VLCDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/VLCDialog.java
@@ -30,7 +30,7 @@ import android.support.v7.app.AppCompatDialog;
 import org.videolan.libvlc.Dialog;
 import org.videolan.vlc.VLCApplication;
 
-public class VLCDialog<T extends Dialog.IdDialog> extends DialogFragment {
+public class VLCDialog<T extends Dialog> extends DialogFragment {
 
     T mVlcDialog;
 



More information about the Android mailing list