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

Prevent NPE in context menu creation

CID #1297079
parent 57666eed
......@@ -219,6 +219,8 @@ public class AudioAlbumsSongsFragment extends Fragment implements SwipeRefreshLa
private boolean handleContextItemSelected(MenuItem item, int position) {
ContextMenuInfo menuInfo = item.getMenuInfo();
if (menuInfo == null)
return false;
int startPosition;
int groupPosition;
......
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