aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-06-28 12:24:40 -0700
committerScott Jackson <daneren2005@gmail.com>2014-06-28 12:24:40 -0700
commit8f32ac4778ceebe754970b98cdc928de2ebf9b60 (patch)
treee0e0b65ea06c5c82353f82f2405c74d100268c50 /src/github/daneren2005
parent9a68c8ed3ae8cea08d41cd97e03e41ce884f95d4 (diff)
downloaddsub-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.java12
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");
+ }
}
});
}