From d610d234f412173f81a6367c425d976e3a66f667 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 21 Feb 2014 19:18:42 -0800 Subject: Fix crash from changing media route from separate thread --- src/github/daneren2005/dsub/service/JukeboxController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/github/daneren2005/dsub/service/JukeboxController.java b/src/github/daneren2005/dsub/service/JukeboxController.java index 7f248f03..ebebbaf8 100644 --- a/src/github/daneren2005/dsub/service/JukeboxController.java +++ b/src/github/daneren2005/dsub/service/JukeboxController.java @@ -217,9 +217,9 @@ public class JukeboxController extends RemoteController { @Override public void run() { Util.toast(downloadService, resourceId, false); + downloadService.setRemoteEnabled(RemoteControlState.LOCAL); } }); - downloadService.setRemoteEnabled(RemoteControlState.LOCAL); } private MusicService getMusicService() { -- cgit v1.2.3