aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-03-09 17:49:25 -0700
committerScott Jackson <daneren2005@gmail.com>2015-03-09 17:49:25 -0700
commitcbeee3213abb3afa8ee08e5fec83129864c8570c (patch)
treeb6111b993020559437b8adc0248dbc00cf02c1bb /src/github
parent74c9732da9c23d3e69432a3fa14a971558ed9c20 (diff)
downloaddsub-cbeee3213abb3afa8ee08e5fec83129864c8570c.tar.gz
dsub-cbeee3213abb3afa8ee08e5fec83129864c8570c.tar.bz2
dsub-cbeee3213abb3afa8ee08e5fec83129864c8570c.zip
Revert to old memory limit
Diffstat (limited to 'src/github')
-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 f18733f3..b4bad6e7 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 / 3;
+ final int cacheSize = maxMemory / 4;
// Determine the density-dependent image sizes.
imageSizeDefault = context.getResources().getDrawable(R.drawable.unknown_album).getIntrinsicHeight();