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…
Reference in New Issue