aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-01-13 12:16:20 -0800
committerScott Jackson <daneren2005@gmail.com>2013-01-13 12:16:20 -0800
commite4e858798d3bd84d8cdf9ce153796d7d712c930c (patch)
tree001ec5cdcc46b4174e3890f15279b70b67629eb6 /subsonic-android
parent55cd3b3fee6ed97527496b402f85f5ed77f0919f (diff)
downloaddsub-e4e858798d3bd84d8cdf9ce153796d7d712c930c.tar.gz
dsub-e4e858798d3bd84d8cdf9ce153796d7d712c930c.tar.bz2
dsub-e4e858798d3bd84d8cdf9ce153796d7d712c930c.zip
Remove the rest of the ActionBar references from ImageLoader
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java24
1 files changed, 0 insertions, 24 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java b/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java
index 78533357..1965615c 100644
--- a/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java
+++ b/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java
@@ -39,8 +39,6 @@ import github.daneren2005.dsub.service.MusicServiceFactory;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
-import com.actionbarsherlock.app.ActionBar;
-
/**
* Asynchronous loading of images, with caching.
* <p/>
@@ -161,10 +159,6 @@ public class ImageLoader implements Runnable {
.apply();
}
}
-
- private void setImage(ActionBar actionBar, Drawable drawable) {
- actionBar.setIcon(drawable);
- }
private void setUnknownImage(View view, boolean large) {
if (large) {
@@ -181,10 +175,6 @@ public class ImageLoader implements Runnable {
private void setUnknownImage(RemoteControlClient remoteControl) {
setImage(remoteControl, largeUnknownImage);
}
-
- private void setUnknownImage(ActionBar actionBar) {
- setImage(actionBar, largeUnknownImage);
- }
public void clear() {
queue.clear();
@@ -274,18 +264,4 @@ public class ImageLoader implements Runnable {
setImage(mRemoteControl, mDrawable);
}
}
-
- private class ActionBarTaskHandler extends ImageLoaderTaskHandler {
-
- private ActionBar mActionBar;
-
- public ActionBarTaskHandler(ActionBar actionBar) {
- mActionBar = actionBar;
- }
-
- @Override
- public void run() {
- setImage(mActionBar, mDrawable);
- }
- }
}