aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2018-08-17 17:52:18 -0700
committerScott Jackson <daneren2005@gmail.com>2018-08-17 17:52:18 -0700
commitc09258017d0523a769b2b4de5e703b5a3b2ba50a (patch)
tree0a4dc8885bbb70c57f8a92270faefd2a751dc33a /app/src/main/java/github
parent59273805ccb79a33d713d348d56a493e7fb7215a (diff)
downloaddsub-c09258017d0523a769b2b4de5e703b5a3b2ba50a.tar.gz
dsub-c09258017d0523a769b2b4de5e703b5a3b2ba50a.tar.bz2
dsub-c09258017d0523a769b2b4de5e703b5a3b2ba50a.zip
Revert last commit, more places aren't working as serializable as well
Diffstat (limited to 'app/src/main/java/github')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/service/AutoMediaBrowserService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/AutoMediaBrowserService.java b/app/src/main/java/github/daneren2005/dsub/service/AutoMediaBrowserService.java
index 6e3edd8c..83af2cad 100644
--- a/app/src/main/java/github/daneren2005/dsub/service/AutoMediaBrowserService.java
+++ b/app/src/main/java/github/daneren2005/dsub/service/AutoMediaBrowserService.java
@@ -325,7 +325,9 @@ public class AutoMediaBrowserService extends MediaBrowserService {
mediaItems.add(new MediaBrowser.MediaItem(description, MediaBrowser.MediaItem.FLAG_BROWSABLE));
} else {
// mark individual songs as directly playable
+ entry.setBookmark(null); // don't resume from a bookmark in a browse listing
Bundle extras = new Bundle();
+ extras.putSerializable(Constants.INTENT_EXTRA_ENTRY, entry);
extras.putString(Constants.INTENT_EXTRA_NAME_CHILD_ID, entry.getId());
description = new MediaDescription.Builder()