mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-05-15 06:46:36 +03:00
Remove unecessary null-check
This commit is contained in:
parent
2e4dde099d
commit
417496aacc
@ -536,7 +536,7 @@ public class MediaPlayerService extends Service
|
|||||||
{
|
{
|
||||||
final MusicDirectory.Entry song = currentPlaying.getSong();
|
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);
|
MusicService musicService = MusicServiceFactory.getMusicService(MediaPlayerService.this);
|
||||||
try
|
try
|
||||||
|
Loading…
x
Reference in New Issue
Block a user