diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-10-10 19:14:53 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-10-10 19:14:53 -0700 |
commit | f50c6d4b82113bdc3f7fda37436bcafaec70b4f4 (patch) | |
tree | 456e691eed18bbd06d7b36434a10b4acac333854 /subsonic-android/src/github | |
parent | afd5890663fb626c1cd0726c2665f9c3c5b796c4 (diff) | |
download | dsub-f50c6d4b82113bdc3f7fda37436bcafaec70b4f4.tar.gz dsub-f50c6d4b82113bdc3f7fda37436bcafaec70b4f4.tar.bz2 dsub-f50c6d4b82113bdc3f7fda37436bcafaec70b4f4.zip |
Disable clicking on song in Downloading mode
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java index 98c75678..0670b148 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java @@ -185,7 +185,7 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi albumArtImageView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - toggleFullscreenAlbumArt(); + toggleFullscreenAlbumArt(); } }); @@ -317,10 +317,12 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi playlistView.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { - warnIfNetworkOrStorageUnavailable(); - getDownloadService().play(position); - onCurrentChanged(); - onProgressChanged(); + if(nowPlaying) { + warnIfNetworkOrStorageUnavailable(); + getDownloadService().play(position); + onCurrentChanged(); + onProgressChanged(); + } } }); |