diff options
Diffstat (limited to 'src/github/daneren2005/dsub/service/DownloadService.java')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index d5664d25..f2383fdb 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -180,7 +180,7 @@ public class DownloadService extends Service { mediaPlayerHandler = new Handler(mediaPlayerLooper); Looper.loop(); } - }).start(); + }, "DownloadService").start(); Util.registerMediaButtonEventReceiver(this); @@ -993,7 +993,7 @@ public class DownloadService extends Service { if(playerState == STARTED && positionCache == null) { positionCache = new PositionCache(); - Thread thread = new Thread(positionCache); + Thread thread = new Thread(positionCache, "PositionCache"); thread.start(); } else if(playerState != STARTED && positionCache != null) { positionCache.stop(); |