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

Prevent NPE on audio item click

parent 5cc334ce
......@@ -447,6 +447,7 @@ public class AudioBrowserFragment extends BaseAudioBrowser implements SwipeRefre
@Override
public void onClick(View v, int position, MediaLibraryItem item) {
if (item == null) return;
if (mActionMode != null) {
super.onClick(v, position, item);
return;
......
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