mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-05-10 12:31:06 +03:00
Fix notification can't be killed when player is not playing.
Fix clicking on close (x) in notification does nothing when player has neither playing nor paused state. Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
parent
d3dc851419
commit
41fe68db0f
@ -1094,7 +1094,7 @@ public class DownloadServiceImpl extends Service implements DownloadService
|
|||||||
}
|
}
|
||||||
setPlayerState(STOPPED);
|
setPlayerState(STOPPED);
|
||||||
}
|
}
|
||||||
else if (playerState == PAUSED)
|
else
|
||||||
{
|
{
|
||||||
setPlayerState(STOPPED);
|
setPlayerState(STOPPED);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user