From e99828ded0f7abd6f5b758f1eaebf628cb8818d3 Mon Sep 17 00:00:00 2001 From: Jack Yoo Date: Tue, 20 Oct 2015 16:21:33 -0700 Subject: VideoModule: Removing tmpPath and use path Not necessary to have tmpPath as it won't be accessed together Change-Id: I0a97e2b114bf7a554b21c4ccb20d620a01a3c579 CRs-Fixed: 877959 --- src/com/android/camera/VideoModule.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/com/android/camera') 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); } -- cgit v1.2.3