aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
authorowner <owner@DeeDee-Laptop>2012-12-20 21:19:50 -0800
committerowner <owner@DeeDee-Laptop>2012-12-20 21:19:50 -0800
commit5f7df3f6300c0d0f0d7573c5614f7b84e081754a (patch)
tree0011c82de8cf7725d62023f0ca83c565d51d12f0 /subsonic-android/src/github
parent1299457ea588958d541bd68d5cfa7c5a8b3e0e2e (diff)
downloaddsub-5f7df3f6300c0d0f0d7573c5614f7b84e081754a.tar.gz
dsub-5f7df3f6300c0d0f0d7573c5614f7b84e081754a.tar.bz2
dsub-5f7df3f6300c0d0f0d7573c5614f7b84e081754a.zip
Move to download activity on context menu play now + don't for play last
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java1
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java4
2 files changed, 4 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java
index aa8c85e1..0cf380dd 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java
@@ -286,6 +286,7 @@ public class SelectAlbumActivity extends SubsonicTabActivity {
case R.id.song_menu_play_now:
getDownloadService().clear();
getDownloadService().download(songs, false, true, true, false);
+ Util.startActivityWithoutTransition(SelectAlbumActivity.this, DownloadActivity.class);
break;
case R.id.song_menu_play_next:
getDownloadService().download(songs, false, false, true, false);
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
index 19e01045..705c460d 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
@@ -361,7 +361,9 @@ public class SubsonicTabActivity extends SherlockActivity {
warnIfNetworkOrStorageUnavailable();
if(!background) {
downloadService.download(songs, save, autoplay, false, shuffle);
- Util.startActivityWithoutTransition(SubsonicTabActivity.this, DownloadActivity.class);
+ if(!append) {
+ Util.startActivityWithoutTransition(SubsonicTabActivity.this, DownloadActivity.class);
+ }
}
else {
downloadService.downloadBackground(songs, save);