summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/data')
-rw-r--r--src/com/android/camera/data/RotationTask.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/data/RotationTask.java b/src/com/android/camera/data/RotationTask.java
index 8daead156..85fbffa77 100644
--- a/src/com/android/camera/data/RotationTask.java
+++ b/src/com/android/camera/data/RotationTask.java
@@ -103,6 +103,7 @@ public class RotationTask extends AsyncTask<LocalData, Void, LocalData> {
if (tag != null) {
exifInterface.setTag(tag);
try {
+ // Note: This only works if the file already has some EXIF.
exifInterface.forceRewriteExif(filePath);
long fileSize = new File(filePath).length();
values.put(Images.Media.SIZE, fileSize);