summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorLikai Ding <likaid@codeaurora.org>2014-09-29 03:32:02 (GMT)
committerGerrit - the friendly Code Review server <code-review@localhost>2014-11-11 15:18:20 (GMT)
commit291c0f59bd170836c502a8c5c8d0aaf2b2dd2f82 (patch)
tree6d532843046f0d99330d33fb748b3e072e2e7bea /Android.mk
parent52f4cda298a5d53395fc46959c88f94b2d3fe921 (diff)
downloadandroid_packages_apps_Snap-291c0f59bd170836c502a8c5c8d0aaf2b2dd2f82.zip
android_packages_apps_Snap-291c0f59bd170836c502a8c5c8d0aaf2b2dd2f82.tar.gz
android_packages_apps_Snap-291c0f59bd170836c502a8c5c8d0aaf2b2dd2f82.tar.bz2
Camera2: correct image size recorded in media provider db
Photos taken in camcorder can't be previewed on PC via MTP mode. The root cause is that, the actual image file size does not always match the _size column in media provider database. During the saving process, EXIF data are rewritten, but the size sent to media provider is not updated accordingly. Record bytes written in ExifOutputStream and OrderedDataOutputStream so that after rewritting, the correct image size could be sent to media provider. Change-Id: I74d91e86d712c121eb50daecaf879ab4f5be97fc CRs-Fixed: 711522
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions