summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoCamera.java
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2010-12-29 15:46:25 +0800
committerChia-chi Yeh <chiachi@android.com>2010-12-29 15:59:28 +0800
commit0aaed976b603c56006213d196e6b0703285dafd5 (patch)
treebd073eb67eee69ccc8f8e31b1ff1bd7906cdda83 /src/com/android/camera/VideoCamera.java
parent37cffb8467d1ccca719a7847582d04da36c5bc6f (diff)
downloadLegacyCamera-0aaed976b603c56006213d196e6b0703285dafd5.zip
LegacyCamera-0aaed976b603c56006213d196e6b0703285dafd5.tar.gz
LegacyCamera-0aaed976b603c56006213d196e6b0703285dafd5.tar.bz2
Refactoring: Remove the dependency to ImageManager.
Also polish Storage.addImage() a little bit. Change-Id: I1001f2aeab031e39510ac513eafe85581e164b95
Diffstat (limited to 'src/com/android/camera/VideoCamera.java')
-rw-r--r--src/com/android/camera/VideoCamera.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java
index 302c7b7..c1c658e 100644
--- a/src/com/android/camera/VideoCamera.java
+++ b/src/com/android/camera/VideoCamera.java
@@ -97,6 +97,9 @@ public class VideoCamera extends NoSearchActivity
private static final String TAG = "videocamera";
+ private static final String LAST_THUMB_PATH =
+ Storage.THUMBNAILS + "/video_last_thumb";
+
private static final int CLEAR_SCREEN_DELAY = 4;
private static final int UPDATE_RECORD_TIME = 5;
private static final int ENABLE_SHUTTER_BUTTON = 6;
@@ -929,7 +932,7 @@ public class VideoCamera extends NoSearchActivity
resetScreenOn();
if (!mIsVideoCaptureIntent && mThumbnailButton != null) {
- mThumbnailButton.storeData(ImageManager.getLastVideoThumbPath());
+ mThumbnailButton.storeData(LAST_THUMB_PATH);
}
if (mStorageHint != null) {
@@ -1571,7 +1574,7 @@ public class VideoCamera extends NoSearchActivity
mThumbnailButton = (RotateImageView)findViewById(R.id.review_thumbnail);
if (mThumbnailButton != null) {
mThumbnailButton.setOnClickListener(this);
- mThumbnailButton.loadData(ImageManager.getLastVideoThumbPath());
+ mThumbnailButton.loadData(LAST_THUMB_PATH);
}
}