summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/camera/util/CameraUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/util/CameraUtil.java b/src/com/android/camera/util/CameraUtil.java
index 893f8a7..9d851e8 100644
--- a/src/com/android/camera/util/CameraUtil.java
+++ b/src/com/android/camera/util/CameraUtil.java
@@ -534,7 +534,7 @@ public class CameraUtil {
public static int getOptimalPreviewSize(Activity currentActivity,
Point[] sizes, double targetRatio) {
// Use a very small tolerance because we want an exact match.
- final double ASPECT_TOLERANCE = 0.01;
+ final double ASPECT_TOLERANCE = 0.02;
if (sizes == null) return -1;
int optimalSizeIndex = -1;