fix crash introduced by pull request #404
This commit is contained in:
1 parent
89b043015d
commit
ec985b24df
1 file changed
+2
-1
@@ -354,7 +354,8 @@ public class FullPlaybackActivity extends SlidingPlaybackActivity
|
||||
}
|
||||
break;
|
||||
case MENU_SHARE:
|
||||
MediaUtils.shareMedia(FullPlaybackActivity.this, MediaUtils.TYPE_SONG, song.id);
|
||||
if (song != null)
|
||||
MediaUtils.shareMedia(this, MediaUtils.TYPE_SONG, song.id);
|
||||
break;
|
||||
case MENU_DELETE:
|
||||
final PlaybackService playbackService = PlaybackService.get(this);
|
||||
|
||||
Reference in new issue
Block a user