force album shuffle mode if we play audio from a search result.
This commit is contained in:
1 parent
ef1de17b23
commit
3eadcaf39c
1 file changed
+1
@@ -79,6 +79,7 @@ public class AudioSearchActivity extends PlaybackActivity {
|
||||
|
||||
PlaybackService service = PlaybackService.get(ctx);
|
||||
service.pause();
|
||||
service.setShuffleMode(SongTimeline.SHUFFLE_ALBUMS);
|
||||
service.emptyQueue();
|
||||
service.addSongs(query);
|
||||
if (service.getTimelineLength() > 0) {
|
||||
|
||||
Reference in new issue
Block a user