From f50c6d4b82113bdc3f7fda37436bcafaec70b4f4 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 10 Oct 2012 19:14:53 -0700 Subject: Disable clicking on song in Downloading mode --- .../github/daneren2005/dsub/activity/DownloadActivity.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'subsonic-android/src/github') 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(); + } } }); -- cgit v1.2.3