diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2023-03-12 20:09:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-12 20:09:12 +0100 |
commit | 2c0b970044b3180786e165588d5d94ada0c90797 (patch) | |
tree | 7026dee4e274f7292782e011c266751869fa8da4 /core | |
parent | 86c11584b599bced9980f8c188e2f5e94b37e718 (diff) | |
download | AntennaPod-2c0b970044b3180786e165588d5d94ada0c90797.zip |
Notify Android Auto that the queue changed (#6373)
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java index 053d852eb..488724665 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java @@ -1083,6 +1083,7 @@ public class PlaybackService extends MediaBrowserServiceCompat { DBWriter.deleteFeedMediaOfItem(PlaybackService.this, media.getId()); Log.d(TAG, "Episode Deleted"); } + notifyChildrenChanged(getString(R.string.queue_label)); } } @@ -1675,6 +1676,7 @@ public class PlaybackService extends MediaBrowserServiceCompat { if (playable instanceof FeedMedia) { long itemId = ((FeedMedia) playable).getItem().getId(); DBWriter.addQueueItem(this, false, true, itemId); + notifyChildrenChanged(getString(R.string.queue_label)); } } |