Commit 4673f93b authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix bad cast

CID #1297084
parent 9381b926
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment