diff options
author | Arne Coucheron <arco68@gmail.com> | 2016-02-12 23:28:10 +0100 |
---|---|---|
committer | Michael Bestas <mikeioannina@cyanogenmod.org> | 2016-02-16 15:44:53 +0200 |
commit | e2f694ecf5a08fea6f38c4acb29265ec98066210 (patch) | |
tree | 08f43fab40d44473efc153149e58feeb76bf4d3a /src/com/android/camera | |
parent | 7e1aa4a5ba9c2fd4bd8aafe827b58e3a0124b078 (diff) | |
download | android_packages_apps_Snap-e2f694ecf5a08fea6f38c4acb29265ec98066210.tar.gz android_packages_apps_Snap-e2f694ecf5a08fea6f38c4acb29265ec98066210.tar.bz2 android_packages_apps_Snap-e2f694ecf5a08fea6f38c4acb29265ec98066210.zip |
Revert "Snap: Support 1:1 aspect ratio"
This reverts commit 4b6ac957f76dc33e77b05fe265a73737050ba50f.
Change-Id: I7585ee977789eb9f90fe165870dcd1c230afc441
Diffstat (limited to 'src/com/android/camera')
-rw-r--r-- | src/com/android/camera/util/CameraUtil.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/camera/util/CameraUtil.java b/src/com/android/camera/util/CameraUtil.java index 4cac65b51..96ee0d927 100644 --- a/src/com/android/camera/util/CameraUtil.java +++ b/src/com/android/camera/util/CameraUtil.java @@ -134,7 +134,6 @@ public class CameraUtil { public static final int RATIO_16_9 = 1; public static final int RATIO_4_3 = 2; public static final int RATIO_3_2 = 3; - public static final int RATIO_1_1 = 4; public static boolean isSupported(String value, List<String> supported) { return supported == null ? false : supported.indexOf(value) >= 0; @@ -1184,9 +1183,6 @@ public class CameraUtil { if (minDiffRatio > diffFrom_16_9) { retRatio = RATIO_16_9; } - if (ratio == 1) { - retRatio = RATIO_1_1; - } return retRatio; } |