summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CropImage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/CropImage.java')
-rw-r--r--src/com/android/camera/CropImage.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/CropImage.java b/src/com/android/camera/CropImage.java
index 489c644..9542ce0 100644
--- a/src/com/android/camera/CropImage.java
+++ b/src/com/android/camera/CropImage.java
@@ -35,6 +35,7 @@ import android.media.FaceDetector;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
+import android.provider.MediaStore;
import android.util.AttributeSet;
import android.util.Config;
import android.util.Log;
@@ -361,7 +362,7 @@ public class CropImage extends Activity {
mAspectX = 1;
mAspectY = 1;
}
- mSaveUri = (Uri) extras.getParcelable("output");
+ mSaveUri = (Uri) extras.getParcelable(MediaStore.EXTRA_OUTPUT);
if (mSaveUri != null) {
String compressFormatString = extras.getString("outputFormat");
if (compressFormatString != null)