diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-02-21 19:18:42 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-02-21 19:18:42 -0800 |
commit | d610d234f412173f81a6367c425d976e3a66f667 (patch) | |
tree | 08cc99414afda996c82b7360ac744ab8e004bb25 /src | |
parent | 5721128a7f45963961029844d1313180324d8019 (diff) | |
download | dsub-d610d234f412173f81a6367c425d976e3a66f667.tar.gz dsub-d610d234f412173f81a6367c425d976e3a66f667.tar.bz2 dsub-d610d234f412173f81a6367c425d976e3a66f667.zip |
Fix crash from changing media route from separate thread
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/service/JukeboxController.java | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |