aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-11-23 17:24:36 -0800
committerScott Jackson <daneren2005@gmail.com>2016-11-23 17:24:36 -0800
commit3f196441d0683977d456528bdf7f32ba24eee175 (patch)
tree6b3b239d87717f46de4884ece253c10468e522ef /app
parentaeacb4a4b03a55ceb19e587dd3003b86b2e8b941 (diff)
downloaddsub-3f196441d0683977d456528bdf7f32ba24eee175.tar.gz
dsub-3f196441d0683977d456528bdf7f32ba24eee175.tar.bz2
dsub-3f196441d0683977d456528bdf7f32ba24eee175.zip
Always play something from Auto even if no matches are found
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java b/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java
index d666afb2..00bca833 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java
@@ -433,7 +433,9 @@ public class RemoteControlClientLP extends RemoteControlClientBase {
}
private void noResults() {
-
+ // Keep getting emails from Google that not playing something with no results is bad
+ downloadService.clear();
+ downloadService.setShufflePlayEnabled(true);
}
private class EventCallback extends MediaSession.Callback {