From e4e858798d3bd84d8cdf9ce153796d7d712c930c Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sun, 13 Jan 2013 12:16:20 -0800 Subject: Remove the rest of the ActionBar references from ImageLoader --- .../github/daneren2005/dsub/util/ImageLoader.java | 24 ---------------------- 1 file changed, 24 deletions(-) (limited to 'subsonic-android') 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. *

@@ -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); - } - } } -- cgit v1.2.3