summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2011-10-28 23:39:34 -0700
committerJames Dong <jdong@google.com>2011-10-29 00:05:08 -0700
commit7be69bb2c491505a61771effee9cbfaedb8f5344 (patch)
treeee5ff005c1c1bd360a06405a2ce1496fbf28e210 /src
parent2f2eea563073f0a69f53c9ce858889d69cc790d6 (diff)
downloadLegacyCamera-7be69bb2c491505a61771effee9cbfaedb8f5344.zip
LegacyCamera-7be69bb2c491505a61771effee9cbfaedb8f5344.tar.gz
LegacyCamera-7be69bb2c491505a61771effee9cbfaedb8f5344.tar.bz2
Replace hardcoded value with public API constant
Change-Id: I711a6623208f95385a62c72aaec8d95e6e064b3d related-to-bug: 5343832
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com/android/camera/VideoCamera.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java
index 78978f5..2cc07a5 100755
--- a/src/com/android/camera/VideoCamera.java
+++ b/src/com/android/camera/VideoCamera.java
@@ -116,7 +116,7 @@ public class VideoCamera extends ActivityBase
CamcorderProfile.QUALITY_TIME_LAPSE_720P,
CamcorderProfile.QUALITY_TIME_LAPSE_480P,
CamcorderProfile.QUALITY_TIME_LAPSE_CIF,
- 1007, /* TODO: replace it with QUALITY_TIME_LAPSE_QVGA if public. */
+ CamcorderProfile.QUALITY_TIME_LAPSE_QVGA,
CamcorderProfile.QUALITY_TIME_LAPSE_QCIF};
private static final int[] VIDEO_QUALITY = {
@@ -124,7 +124,7 @@ public class VideoCamera extends ActivityBase
CamcorderProfile.QUALITY_720P,
CamcorderProfile.QUALITY_480P,
CamcorderProfile.QUALITY_CIF,
- 7, /* TODO: replace it with CamcorderProfile.QUALITY_QVGA */
+ CamcorderProfile.QUALITY_QVGA,
CamcorderProfile.QUALITY_QCIF};
/**