[Android] Fix bad cast

Geoffrey Métais git at videolan.org
Thu May 7 16:29:24 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu May  7 11:06:32 2015 +0200| [4673f93baeed99d3e02b2bddc6caf2dea8792449] | committer: Geoffrey Métais

Fix bad cast

CID #1297084

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=4673f93baeed99d3e02b2bddc6caf2dea8792449
---

 vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumFragment.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumFragment.java
index 99911a5..239cc0a 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumFragment.java
@@ -162,7 +162,7 @@ public class AudioAlbumFragment extends Fragment implements AdapterView.OnItemCl
         inflater.inflate(R.menu.audio_list_browser, menu);
         int position = 0;
         if (menuInfo instanceof AdapterViewCompat.AdapterContextMenuInfo)
-            position = ((AdapterView.AdapterContextMenuInfo)menuInfo).position;
+            position = ((AdapterViewCompat.AdapterContextMenuInfo)menuInfo).position;
         setContextMenuItems(menu, v, position);
     }
 



More information about the Android mailing list