diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-12-13 03:25:18 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-12-13 03:25:18 -0800 |
commit | 0d709c6b636e72a7b60cc03edb22cf70993f15d8 (patch) | |
tree | f85567c343706ca430038ec71afdc5f6fcb2a5c9 /src/com/android/camera | |
parent | cb3b8be589a23486f5fe83f4c551cb46794459df (diff) | |
parent | 3da604b599211a0e3814a4238646abdee02f2786 (diff) | |
download | LegacyCamera-0d709c6b636e72a7b60cc03edb22cf70993f15d8.zip LegacyCamera-0d709c6b636e72a7b60cc03edb22cf70993f15d8.tar.gz LegacyCamera-0d709c6b636e72a7b60cc03edb22cf70993f15d8.tar.bz2 |
Merge "Show only the actual recorded time in time lapse mode."
Diffstat (limited to 'src/com/android/camera')
-rw-r--r-- | src/com/android/camera/VideoCamera.java | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java index 3bbf9b4..725f133 100644 --- a/src/com/android/camera/VideoCamera.java +++ b/src/com/android/camera/VideoCamera.java @@ -1667,13 +1667,15 @@ public class VideoCamera extends NoSearchActivity if (countdownRemainingTime) { deltaAdjusted = Math.max(0, mMaxVideoDurationInMs - deltaAdjusted) + 999; } - String text = millisecondToTimeString(deltaAdjusted, false); + String text; - if (mCaptureTimeLapse) { - // Since the length of time lapse video is different from the length - // of the actual wall clock time elapsed, we display the video length - // alongside the wall clock time. - text += " (" + getTimeLapseVideoLengthString(delta) + ")"; + if (!mCaptureTimeLapse) { + text = millisecondToTimeString(deltaAdjusted, false); + } else { + // The length of time lapse video is different from the length + // of the actual wall clock time elapsed. Display the video length + // only. + text = getTimeLapseVideoLengthString(delta); } mRecordingTimeView.setText(text); |