summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera')
-rwxr-xr-xsrc/com/android/camera/VideoCamera.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java
index a4b739c..e8d8456 100755
--- a/src/com/android/camera/VideoCamera.java
+++ b/src/com/android/camera/VideoCamera.java
@@ -101,8 +101,6 @@ public class VideoCamera extends ActivityBase
// The reason why it is set to 0.7 is just because 1.0 is too bright.
private static final float DEFAULT_CAMERA_BRIGHTNESS = 0.7f;
- private static final long LOW_STORAGE_THRESHOLD = 512L * 1024L;
-
private static final boolean SWITCH_CAMERA = true;
private static final boolean SWITCH_VIDEO = false;
@@ -1366,10 +1364,6 @@ public class VideoCamera extends ActivityBase
}
private void addVideoToMediaStore() {
- if (mStorageSpace < LOW_STORAGE_THRESHOLD) {
- Log.e(TAG, "Space insufficient to add media: " + mStorageSpace);
- return;
- }
if (mVideoFileDescriptor == null) {
Uri videoTable = Uri.parse("content://media/external/video/media");
mCurrentVideoValues.put(Video.Media.SIZE,