diff options
author | Jack Yoo <jyoo@codeaurora.org> | 2015-10-20 16:21:33 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-03 15:44:40 -0700 |
commit | e99828ded0f7abd6f5b758f1eaebf628cb8818d3 (patch) | |
tree | c279ba41e925384a9279e89d0f13e03f594a71f6 /src/com/android | |
parent | a2794eab22238885f5a3e2ed95e9fd2a1c42e810 (diff) | |
download | android_packages_apps_Snap-e99828ded0f7abd6f5b758f1eaebf628cb8818d3.tar.gz android_packages_apps_Snap-e99828ded0f7abd6f5b758f1eaebf628cb8818d3.tar.bz2 android_packages_apps_Snap-e99828ded0f7abd6f5b758f1eaebf628cb8818d3.zip |
VideoModule: Removing tmpPath and use path
Not necessary to have tmpPath as it won't be accessed together
Change-Id: I0a97e2b114bf7a554b21c4ccb20d620a01a3c579
CRs-Fixed: 877959
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/camera/VideoModule.java | 3 |
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); } |