[Android] Remove unnecessary casting
Geoffrey Métais
git at videolan.org
Tue Jan 3 17:13:12 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 3 14:36:03 2017 +0100| [e1888a797edc46b471f9b1bdcc067c20f01eac62] | committer: Geoffrey Métais
Remove unnecessary casting
> https://code.videolan.org/videolan/vlc-android/commit/e1888a797edc46b471f9b1bdcc067c20f01eac62
---
vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
index 00ac8a1..f6159b6 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
@@ -56,7 +56,6 @@ import org.videolan.vlc.gui.helpers.UiTools;
import org.videolan.vlc.gui.video.VideoPlayerActivity;
import org.videolan.vlc.gui.view.AutoFitRecyclerView;
import org.videolan.vlc.interfaces.IPlaybackSettingsController;
-import org.videolan.medialibrary.media.MediaWrapper;
import org.videolan.vlc.util.Permissions;
import org.videolan.vlc.util.Strings;
@@ -227,7 +226,7 @@ public class AdvOptionsDialog extends DialogFragment implements View.OnClickList
case ID_SAVE_PLAYLIST:
newFragment = new SavePlaylistDialog();
Bundle args = new Bundle();
- args.putParcelableArrayList(SavePlaylistDialog.KEY_TRACKS, (ArrayList<MediaWrapper>) mService.getMedias());
+ args.putParcelableArrayList(SavePlaylistDialog.KEY_TRACKS, mService.getMedias());
newFragment.setArguments(args);
tag = "fragment_save_playlist";
break;
More information about the Android
mailing list