aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-02-13 09:56:28 -0800
committerdaneren2005 <daneren2005@gmail.com>2013-02-13 09:56:28 -0800
commit0c3815da943621544b38076459b013a11d5a91de (patch)
tree2b9b33e60a0d9534bd1dbc0d24f43fa54887e338 /subsonic-android/src/github/daneren2005
parent4fdaa88b473a210472b638995608a0a2c9f6ac15 (diff)
downloaddsub-0c3815da943621544b38076459b013a11d5a91de.tar.gz
dsub-0c3815da943621544b38076459b013a11d5a91de.tar.bz2
dsub-0c3815da943621544b38076459b013a11d5a91de.zip
Increase amount of memory dedicated to image loading
Diffstat (limited to 'subsonic-android/src/github/daneren2005')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java b/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java
index 9586e24d..35e24039 100644
--- a/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java
+++ b/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java
@@ -64,7 +64,7 @@ public class ImageLoader implements Runnable {
public ImageLoader(Context context) {
this.context = context;
final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024);
- final int cacheSize = maxMemory / 4;
+ final int cacheSize = maxMemory / 2;
cache = new LruCache<String, Bitmap>(cacheSize) {
@Override
protected int sizeOf(String key, Bitmap bitmap) {