From e8d2754ede939672bce8305656364adc2b6b9853 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Thu, 26 Feb 2015 12:08:17 -0800 Subject: Fix crash if restore is called before buffers created --- src/github/daneren2005/dsub/service/DownloadService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3