summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorlinus_lee <llee@cyngn.com>2014-11-18 11:22:07 -0800
committerlinus_lee <llee@cyngn.com>2014-11-20 12:51:37 -0800
commit8f8e55916f56830ab31ba38b1bd05ea411f8c351 (patch)
tree96420f5b5774a77ba1a8c313a6d199ecf6696da1 /src/com
parentd3feca9c173b999d663dd861bb369e7ce9b6b564 (diff)
downloadandroid_packages_apps_Eleven-8f8e55916f56830ab31ba38b1bd05ea411f8c351.tar.gz
android_packages_apps_Eleven-8f8e55916f56830ab31ba38b1bd05ea411f8c351.tar.bz2
android_packages_apps_Eleven-8f8e55916f56830ab31ba38b1bd05ea411f8c351.zip
Eleven: Remove last.fm artwork calls until we find an alternative
Change-Id: I091c1054a8455cc70ddb4a6a68e0c125c5e04c59
Diffstat (limited to 'src/com')
-rw-r--r--src/com/cyngn/eleven/utils/ImageUtils.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/com/cyngn/eleven/utils/ImageUtils.java b/src/com/cyngn/eleven/utils/ImageUtils.java
index d808366..409045e 100644
--- a/src/com/cyngn/eleven/utils/ImageUtils.java
+++ b/src/com/cyngn/eleven/utils/ImageUtils.java
@@ -50,17 +50,21 @@ public class ImageUtils {
final String albumName, final ImageWorker.ImageType imageType) {
switch (imageType) {
case ARTIST:
- if (!TextUtils.isEmpty(artistName)) {
+ // Disable last.fm calls - TODO: Find an alternative artwork provider that has
+ // the proper license rights for artwork
+ /*if (!TextUtils.isEmpty(artistName)) {
if (PreferenceUtils.getInstance(context).downloadMissingArtistImages()) {
final Artist artist = Artist.getInfo(context, artistName);
if (artist != null) {
return getBestImage(artist);
}
}
- }
+ }*/
break;
case ALBUM:
- if (!TextUtils.isEmpty(artistName) && !TextUtils.isEmpty(albumName)) {
+ // Disable last.fm calls - TODO: Find an alternative artwork provider that has
+ // the proper license rights for artwork
+ /*if (!TextUtils.isEmpty(artistName) && !TextUtils.isEmpty(albumName)) {
if (PreferenceUtils.getInstance(context).downloadMissingArtwork()) {
final Artist correction = Artist.getCorrection(context, artistName);
if (correction != null) {
@@ -71,7 +75,7 @@ public class ImageUtils {
}
}
}
- }
+ }*/
break;
default:
break;