diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-06-28 12:24:40 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-06-28 12:24:40 -0700 |
commit | 8f32ac4778ceebe754970b98cdc928de2ebf9b60 (patch) | |
tree | e0e0b65ea06c5c82353f82f2405c74d100268c50 /src/github/daneren2005 | |
parent | 9a68c8ed3ae8cea08d41cd97e03e41ce884f95d4 (diff) | |
download | dsub-8f32ac4778ceebe754970b98cdc928de2ebf9b60.tar.gz dsub-8f32ac4778ceebe754970b98cdc928de2ebf9b60.tar.bz2 dsub-8f32ac4778ceebe754970b98cdc928de2ebf9b60.zip |
Revert, just kidding
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r-- | src/github/daneren2005/dsub/service/RESTMusicService.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/github/daneren2005/dsub/service/RESTMusicService.java b/src/github/daneren2005/dsub/service/RESTMusicService.java index 4f53cb30..43d443d2 100644 --- a/src/github/daneren2005/dsub/service/RESTMusicService.java +++ b/src/github/daneren2005/dsub/service/RESTMusicService.java @@ -1539,12 +1539,12 @@ public class RESTMusicService implements MusicService { task.setOnCancelListener(new BackgroundTask.OnCancelListener() { @Override public void onCancel() { - try { - isCancelled.set(true); - request.abort(); - } catch(Exception e) { - Log.e(TAG, "Failed to stop http task"); - } + try { + isCancelled.set(true); + request.abort(); + } catch(Exception e) { + Log.e(TAG, "Failed to stop http task"); + } } }); } |