aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-03-06 17:50:33 -0800
committerScott Jackson <daneren2005@gmail.com>2015-03-06 17:50:33 -0800
commit9856fb587586718669bb0206d89b09d6e4072727 (patch)
treefae1f205839c8a8bfed031c850d28aa9177b5aa4
parentbd1aa37e7a3686f72b39b7657b64f7588a9bee34 (diff)
downloaddsub-9856fb587586718669bb0206d89b09d6e4072727.tar.gz
dsub-9856fb587586718669bb0206d89b09d6e4072727.tar.bz2
dsub-9856fb587586718669bb0206d89b09d6e4072727.zip
Try increasing max memory for bitmaps
-rw-r--r--src/github/daneren2005/dsub/util/ImageLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/util/ImageLoader.java b/src/github/daneren2005/dsub/util/ImageLoader.java
index b4bad6e7..f18733f3 100644
--- a/src/github/daneren2005/dsub/util/ImageLoader.java
+++ b/src/github/daneren2005/dsub/util/ImageLoader.java
@@ -72,7 +72,7 @@ public class ImageLoader {
this.context = context;
handler = new Handler(Looper.getMainLooper());
final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024);
- final int cacheSize = maxMemory / 4;
+ final int cacheSize = maxMemory / 3;
// Determine the density-dependent image sizes.
imageSizeDefault = context.getResources().getDrawable(R.drawable.unknown_album).getIntrinsicHeight();