Merge pull request #3583 from ByteHamster/fix-headset-button-play

Fixed pressing play from headset button
This commit is contained in:
H. Lehmann 2019-11-05 23:59:40 +01:00 committed by GitHub
commit 9df14af284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,6 +22,7 @@ class PlaybackServiceStateManager {
void stopService() {
stopForeground(true);
playbackService.stopSelf();
hasReceivedValidStartCommand = false;
}
void stopForeground(boolean removeNotification) {
@ -35,7 +36,6 @@ class PlaybackServiceStateManager {
}
}
isInForeground = false;
hasReceivedValidStartCommand = false;
}
boolean isInForeground() {