mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-30 00:44:53 +01: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);
|
||||
}
|
||||
else if (playerState == PAUSED)
|
||||
else
|
||||
{
|
||||
setPlayerState(STOPPED);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user