aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-02-26 12:08:17 -0800
committerScott Jackson <daneren2005@gmail.com>2015-02-26 12:08:17 -0800
commite8d2754ede939672bce8305656364adc2b6b9853 (patch)
treec625c3c7b894d90c094c5b5736919b8cea6abf4e /src
parentf77c52b68219bf2ed51ea397c62c8a229c089d53 (diff)
downloaddsub-e8d2754ede939672bce8305656364adc2b6b9853.tar.gz
dsub-e8d2754ede939672bce8305656364adc2b6b9853.tar.bz2
dsub-e8d2754ede939672bce8305656364adc2b6b9853.zip
Fix crash if restore is called before buffers created
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java
index 5ab58bf6..24c710dd 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -233,9 +233,9 @@ public class DownloadService extends Service {
mediaRouter = new MediaRouteManager(this);
instance = this;
- lifecycleSupport.onCreate();
shufflePlayBuffer = new ShufflePlayBuffer(this);
artistRadioBuffer = new ArtistRadioBuffer(this);
+ lifecycleSupport.onCreate();
}
@Override