diff options
author | weijiew <weijiew@codeaurora.org> | 2017-03-02 16:34:55 +0800 |
---|---|---|
committer | weijiew <weijiew@codeaurora.org> | 2017-03-02 16:38:09 +0800 |
commit | 26fc8869cdd7385a3878db8cf63400f9db67296a (patch) | |
tree | cfe5178d5ce2118669a225978a0e087b804e42b5 /src/com/android/camera/PhotoModule.java | |
parent | aca636015e3d82552f7066f35429129aab976313 (diff) | |
download | android_packages_apps_Snap-26fc8869cdd7385a3878db8cf63400f9db67296a.tar.gz android_packages_apps_Snap-26fc8869cdd7385a3878db8cf63400f9db67296a.tar.bz2 android_packages_apps_Snap-26fc8869cdd7385a3878db8cf63400f9db67296a.zip |
SnapdragonCamera: Print the picture name when capture success
Print the picture name when capture success
Change-Id: Ia928197bc597ef09b40bb90e1297c7edb19fa4cd
CRs-Fixed: 1113482
Diffstat (limited to 'src/com/android/camera/PhotoModule.java')
-rw-r--r--[-rwxr-xr-x] | src/com/android/camera/PhotoModule.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/PhotoModule.java b/src/com/android/camera/PhotoModule.java index afde62a7d..e60beeb56 100755..100644 --- a/src/com/android/camera/PhotoModule.java +++ b/src/com/android/camera/PhotoModule.java @@ -1277,6 +1277,7 @@ public class PhotoModule if ( srcFile.renameTo(dstFile) ) { Size s = mParameters.getPictureSize(); String pictureFormat = mParameters.get(KEY_PICTURE_FORMAT); + Log.d(TAG, "capture:" + title + "." + pictureFormat); mActivity.getMediaSaveService().addImage( null, title, date, mLocation, s.width, s.height, 0, null, mOnMediaSavedListener, mContentResolver, pictureFormat); @@ -1488,6 +1489,7 @@ public class PhotoModule exif.setTag(directionTag); } String mPictureFormat = mParameters.get(KEY_PICTURE_FORMAT); + Log.d(TAG, "capture:" + title + "." + mPictureFormat); mActivity.getMediaSaveService().addImage( jpegData, title, date, mLocation, width, height, orientation, exif, mOnMediaSavedListener, |