1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2025-02-16 19:50:35 +01:00

Remove unecessary null-check

This commit is contained in:
tzugen 2021-04-17 18:23:32 +02:00
parent 2e4dde099d
commit 417496aacc
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930

View File

@ -536,7 +536,7 @@ public class MediaPlayerService extends Service
{
final MusicDirectory.Entry song = currentPlaying.getSong();
if (song != null && song.getBookmarkPosition() > 0 && Util.getShouldClearBookmark(MediaPlayerService.this))
if (song.getBookmarkPosition() > 0 && Util.getShouldClearBookmark(MediaPlayerService.this))
{
MusicService musicService = MusicServiceFactory.getMusicService(MediaPlayerService.this);
try