summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorErin Dahlgren <edahlgren@google.com>2013-11-05 16:07:10 -0800
committerErin Dahlgren <edahlgren@google.com>2013-11-05 16:07:10 -0800
commitc883a30eff16435909471874d2106acbb63eba03 (patch)
tree41685b17597d6a8af4ea016b93304cbc05f27df9 /src/com
parentbf4ce93c84400357a28f78a76df62b550e7f85d1 (diff)
downloadandroid_packages_apps_Snap-c883a30eff16435909471874d2106acbb63eba03.tar.gz
android_packages_apps_Snap-c883a30eff16435909471874d2106acbb63eba03.tar.bz2
android_packages_apps_Snap-c883a30eff16435909471874d2106acbb63eba03.zip
Make image editor intent general.
Bug: 11372979 Change-Id: I7649eb995fbd78f9b29c76da777aca83777c49fc
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/camera/CameraActivity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/camera/CameraActivity.java b/src/com/android/camera/CameraActivity.java
index 86f1de590..a8c4bd850 100644
--- a/src/com/android/camera/CameraActivity.java
+++ b/src/com/android/camera/CameraActivity.java
@@ -1389,8 +1389,7 @@ public class CameraActivity extends Activity
Intent intent = new Intent(Intent.ACTION_EDIT)
.setDataAndType(data.getContentUri(), data.getMimeType())
.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
- startActivityForResult(Intent.createChooser(intent, null),
- REQ_CODE_DONT_SWITCH_TO_PREVIEW);
+ startActivityForResult(intent, REQ_CODE_DONT_SWITCH_TO_PREVIEW);
}
/**