Merge pull request #190 from ultrasonic/fix-notification-dismiss

Fix notification can't be killed when player is not playing.
This commit is contained in:
Yahor Berdnikau 2018-04-06 19:05:00 +02:00 committed by GitHub
commit d35888213b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1094,7 +1094,7 @@ public class DownloadServiceImpl extends Service implements DownloadService
} }
setPlayerState(STOPPED); setPlayerState(STOPPED);
} }
else if (playerState == PAUSED) else
{ {
setPlayerState(STOPPED); setPlayerState(STOPPED);
} }