diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-02-17 16:13:14 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-02-17 16:13:14 -0800 |
commit | 0fd52d5642d0d0ccf59c1a94ed6e4004024d4d30 (patch) | |
tree | d70a788c7931e33e4a0f9e6fa4ba3d2bf11af75e /src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java | |
parent | 9ac411cec462c068622f4c40503686ba1984ca39 (diff) | |
download | dsub-0fd52d5642d0d0ccf59c1a94ed6e4004024d4d30.tar.gz dsub-0fd52d5642d0d0ccf59c1a94ed6e4004024d4d30.tar.bz2 dsub-0fd52d5642d0d0ccf59c1a94ed6e4004024d4d30.zip |
There is no reason for DownloadService to exist as a interface, just causes pointless extra work
Diffstat (limited to 'src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java')
-rw-r--r-- | src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java b/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java index d22bc3ab..9c8bcaa3 100644 --- a/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java +++ b/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java @@ -54,7 +54,6 @@ import github.daneren2005.dsub.fragments.SelectShareFragment; import github.daneren2005.dsub.fragments.SubsonicFragment;
import github.daneren2005.dsub.service.DownloadFile;
import github.daneren2005.dsub.service.DownloadService;
-import github.daneren2005.dsub.service.DownloadServiceImpl;
import github.daneren2005.dsub.updates.Updater;
import github.daneren2005.dsub.util.Constants;
import github.daneren2005.dsub.util.FileUtil;
@@ -80,7 +79,7 @@ public class SubsonicFragmentActivity extends SubsonicActivity { public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getIntent().hasExtra(Constants.INTENT_EXTRA_NAME_EXIT)) {
- stopService(new Intent(this, DownloadServiceImpl.class));
+ stopService(new Intent(this, DownloadService.class));
finish();
} else if(getIntent().hasExtra(Constants.INTENT_EXTRA_NAME_DOWNLOAD)) {
DownloadService service = getDownloadService();
|