summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/camera/VideoModule.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index 456513516..e1c8cee13 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1723,7 +1723,6 @@ public class VideoModule implements CameraModule,
} else {
path = Storage.DIRECTORY + '/' + filename;
}
- String tmpPath = path + ".tmp";
mCurrentVideoValues = new ContentValues(9);
mCurrentVideoValues.put(Video.Media.TITLE, title);
mCurrentVideoValues.put(Video.Media.DISPLAY_NAME, filename);
@@ -1739,7 +1738,7 @@ public class VideoModule implements CameraModule,
mCurrentVideoValues.put(Video.Media.LATITUDE, loc.getLatitude());
mCurrentVideoValues.put(Video.Media.LONGITUDE, loc.getLongitude());
}
- mVideoFilename = tmpPath;
+ mVideoFilename = path;
Log.v(TAG, "New video filename: " + mVideoFilename);
}