aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-02-21 19:18:42 -0800
committerScott Jackson <daneren2005@gmail.com>2014-02-21 19:18:42 -0800
commitd610d234f412173f81a6367c425d976e3a66f667 (patch)
tree08cc99414afda996c82b7360ac744ab8e004bb25
parent5721128a7f45963961029844d1313180324d8019 (diff)
downloaddsub-d610d234f412173f81a6367c425d976e3a66f667.tar.gz
dsub-d610d234f412173f81a6367c425d976e3a66f667.tar.bz2
dsub-d610d234f412173f81a6367c425d976e3a66f667.zip
Fix crash from changing media route from separate thread
-rw-r--r--src/github/daneren2005/dsub/service/JukeboxController.java2
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() {