diff options
Diffstat (limited to 'src/com/android/camera/PanoCaptureModule.java')
| -rwxr-xr-x[-rw-r--r--] | src/com/android/camera/PanoCaptureModule.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/com/android/camera/PanoCaptureModule.java b/src/com/android/camera/PanoCaptureModule.java index b333158d9..cea752b25 100644..100755 --- a/src/com/android/camera/PanoCaptureModule.java +++ b/src/com/android/camera/PanoCaptureModule.java @@ -494,7 +494,9 @@ public class PanoCaptureModule implements CameraModule, PhotoController { Log.e(TAG, "Cannot set exif for " + filepath, e); Storage.writeFile(filepath, jpegData); } - return Storage.addImage(mActivity, filepath); + int jpegLength = (int) (new File(filepath).length()); + return Storage.addImage(mContentResolver, filename, timeTaken, loc, orientation, + jpegLength, filepath, width, height, LocalData.MIME_TYPE_JPEG); } return null; } @@ -684,6 +686,11 @@ public class PanoCaptureModule implements CameraModule, PhotoController { } @Override + public void onSwitchSavePath() { + + } + + @Override public void waitingLocationPermissionResult(boolean waiting) { } |
