Skip to content
Snippets Groups Projects
Commit 63a961cc authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Prevent NPE on audio item click

(cherry picked from commit 330bba53)
parent 40b3a672
No related branches found
No related tags found
No related merge requests found
......@@ -446,6 +446,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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment