summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CameraActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/CameraActivity.java')
-rw-r--r--src/com/android/camera/CameraActivity.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/camera/CameraActivity.java b/src/com/android/camera/CameraActivity.java
index 3ef2f3475..d8b1497c3 100644
--- a/src/com/android/camera/CameraActivity.java
+++ b/src/com/android/camera/CameraActivity.java
@@ -1428,14 +1428,14 @@ public class CameraActivity extends QuickActivity
// for displaying images.
glide.setMemoryCategory(MemoryCategory.HIGH);
- Size glTextureSize = GlideFilmstripManager.getMaxGlTextureSize();
+ Size maxDisplaySize = GlideFilmstripManager.getMaxImageDisplaySize();
// Prefill glides bitmap pool to prevent excessive jank
// when loading large images.
glide.preFillBitmapPool(
new PreFillType.Builder(
- glTextureSize.width(),
- glTextureSize.height())
+ maxDisplaySize.width(),
+ maxDisplaySize.height())
.setWeight(5),
// It's more important for jank and GC to have
// A larger weight of max texture size images than