summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/Camera.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/Camera.java')
-rw-r--r--src/com/android/camera/Camera.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index 33dfa08..e83b8fb 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -1109,8 +1109,8 @@ public class Camera extends Activity implements View.OnClickListener,
newExtras.putBoolean("return-data", true);
}
- Intent cropIntent = new Intent();
- cropIntent.setClass(this, CropImage.class);
+ Intent cropIntent = new Intent("com.android.camera.action.CROP");
+
cropIntent.setData(tempUri);
cropIntent.putExtras(newExtras);