summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-08-29 17:55:44 +0800
committerWu-cheng Li <wuchengli@google.com>2011-08-29 17:59:54 +0800
commitc2fe2b3f1360e4c6ec3abac15e523f15c29d28bc (patch)
tree91785accca4f1e237c82e2669b13adb9af41d629 /src/com/android/camera
parent4a7c00fed8ad1753fe7bf016267850c040c73c9f (diff)
downloadLegacyCamera-c2fe2b3f1360e4c6ec3abac15e523f15c29d28bc.zip
LegacyCamera-c2fe2b3f1360e4c6ec3abac15e523f15c29d28bc.tar.gz
LegacyCamera-c2fe2b3f1360e4c6ec3abac15e523f15c29d28bc.tar.bz2
Decrease the time of showing postview image.
Originally the camera shows postview for 1.2 seconds. Decrease the time so the camera does not look slow. bug:5219431 Change-Id: I01b38ee6812aacbab9bc0c9096799933be6a72d9
Diffstat (limited to 'src/com/android/camera')
-rw-r--r--src/com/android/camera/Camera.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index c3c28c1..45da021 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -769,8 +769,8 @@ public class Camera extends ActivityBase implements FocusManager.Listener,
enableCameraControls(true);
// We want to show the taken picture for a while, so we wait
- // for at least 1.2 second before restarting the preview.
- long delay = 1200 - mPictureDisplayedToJpegCallbackTime;
+ // for at least 0.5 second before restarting the preview.
+ long delay = 500 - mPictureDisplayedToJpegCallbackTime;
if (delay < 0) {
startPreview();
} else {