summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/panorama
diff options
context:
space:
mode:
authorWei-Ta Chen <weita@google.com>2011-08-24 19:53:18 -0700
committerWei-Ta Chen <weita@google.com>2011-08-26 12:28:22 -0700
commit0c9caf77ab90b173fbe2719ec6a78e588964ac33 (patch)
tree8c6e65c2b188221dcffe9c8d0a5fff457592612e /src/com/android/camera/panorama
parent11bd0b3d63423c800050d4ff9b1f759ceb25f08c (diff)
downloadpackages_apps_LegacyCamera-0c9caf77ab90b173fbe2719ec6a78e588964ac33.zip
packages_apps_LegacyCamera-0c9caf77ab90b173fbe2719ec6a78e588964ac33.tar.gz
packages_apps_LegacyCamera-0c9caf77ab90b173fbe2719ec6a78e588964ac33.tar.bz2
Fix an issue that "Too fast" pop up in preview.
The issue is that the "Too fast" message is cleared only after we hit "Start". Therefore, a previous "Too fast" message will be shown after we hit "OK" and finish generating High-Res mosaic. Fix the issue by clearing the message once we can done with capture. Change-Id: I2b70b3a2334a7c9351365ad58fdb4323fe661526
Diffstat (limited to 'src/com/android/camera/panorama')
-rw-r--r--src/com/android/camera/panorama/PanoramaActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/panorama/PanoramaActivity.java b/src/com/android/camera/panorama/PanoramaActivity.java
index ee6bc23..91d56a5 100644
--- a/src/com/android/camera/panorama/PanoramaActivity.java
+++ b/src/com/android/camera/panorama/PanoramaActivity.java
@@ -351,7 +351,6 @@ public class PanoramaActivity extends Activity implements
// Reset values so we can do this again.
mTimeTaken = System.currentTimeMillis();
mCaptureState = CAPTURE_MOSAIC;
- mTooFastPrompt.setVisibility(View.GONE);
mPanoControlLayout.startAnimation(mSlideOut);
mPanoControlLayout.setVisibility(View.GONE);
@@ -374,6 +373,7 @@ public class PanoramaActivity extends Activity implements
private void stopCapture() {
mCaptureState = CAPTURE_VIEWFINDER;
+ mTooFastPrompt.setVisibility(View.GONE);
mMosaicFrameProcessor.setProgressListener(null);
stopCameraPreview();