aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-10-30 11:05:44 -0700
committerScott Jackson <daneren2005@gmail.com>2015-10-30 11:05:44 -0700
commitfefc3b500d21bbd836c716bdcf9ebb7bb74a6d33 (patch)
treec33e0ddba8070625035261cddef63bc9b9e66230 /app/src/main
parentb51888e6bfd41f163f1b226da001790a418a70e6 (diff)
downloaddsub-fefc3b500d21bbd836c716bdcf9ebb7bb74a6d33.tar.gz
dsub-fefc3b500d21bbd836c716bdcf9ebb7bb74a6d33.tar.bz2
dsub-fefc3b500d21bbd836c716bdcf9ebb7bb74a6d33.zip
Remove a bunch of Log.d
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/SearchFragment.java1
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java2
-rw-r--r--app/src/main/java/github/daneren2005/dsub/receiver/HeadphonePlugReceiver.java2
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/FileUtil.java1
4 files changed, 1 insertions, 5 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SearchFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SearchFragment.java
index 70a8d190..4e1fbdca 100644
--- a/app/src/main/java/github/daneren2005/dsub/fragments/SearchFragment.java
+++ b/app/src/main/java/github/daneren2005/dsub/fragments/SearchFragment.java
@@ -142,7 +142,6 @@ public class SearchFragment extends SubsonicFragment implements SectionAdapter.O
@Override
public void onItemClicked(UpdateView<Serializable> updateView, Serializable item) {
- Log.d(TAG, item.getClass().getSimpleName());
if (item instanceof Artist) {
onArtistSelected((Artist) item, false);
} else if (item instanceof MusicDirectory.Entry) {
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java
index 1b3d08cc..e7685ed4 100644
--- a/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java
+++ b/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java
@@ -1056,7 +1056,7 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
overwriteCheckBox.setVisibility(View.VISIBLE);
}
} catch(Exception e) {
- Log.d(TAG, "Playlist id isn't a integer, probably MusicCabinet");
+ Log.i(TAG, "Playlist id isn't a integer, probably MusicCabinet");
}
} else {
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
diff --git a/app/src/main/java/github/daneren2005/dsub/receiver/HeadphonePlugReceiver.java b/app/src/main/java/github/daneren2005/dsub/receiver/HeadphonePlugReceiver.java
index 77948c41..041eb8e1 100644
--- a/app/src/main/java/github/daneren2005/dsub/receiver/HeadphonePlugReceiver.java
+++ b/app/src/main/java/github/daneren2005/dsub/receiver/HeadphonePlugReceiver.java
@@ -30,9 +30,7 @@ public class HeadphonePlugReceiver extends BroadcastReceiver {
public void onReceive(Context context, Intent intent) {
if(Intent.ACTION_HEADSET_PLUG.equals(intent.getAction())) {
int headphoneState = intent.getIntExtra("state", -1);
- Log.d(TAG, "State: " + headphoneState);
if(headphoneState == 1 && Util.shouldStartOnHeadphones(context)) {
- Log.d(TAG, "Fired play event");
Intent start = new Intent(context, DownloadService.class);
start.setAction(DownloadService.START_PLAY);
context.startService(start);
diff --git a/app/src/main/java/github/daneren2005/dsub/util/FileUtil.java b/app/src/main/java/github/daneren2005/dsub/util/FileUtil.java
index 71366e60..2495db17 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/FileUtil.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/FileUtil.java
@@ -198,7 +198,6 @@ public class FileUtil {
return new File(dir, Util.md5Hex(ImageLoader.PLAYLIST_PREFIX + entry.getTitle()) + ".jpeg");
} else if(entry.getId().indexOf(ImageLoader.PODCAST_PREFIX) != -1) {
File dir = getAlbumArtDirectory(context);
- Log.d(TAG, ImageLoader.PODCAST_PREFIX + entry.getTitle());
return new File(dir, Util.md5Hex(ImageLoader.PODCAST_PREFIX + entry.getTitle()) + ".jpeg");
} else {
File albumDir = getAlbumDirectory(context, entry);