diff options
Diffstat (limited to 'src/com/android/camera/crop')
-rw-r--r-- | src/com/android/camera/crop/CropActivity.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/com/android/camera/crop/CropActivity.java b/src/com/android/camera/crop/CropActivity.java index 9c9295dc4..9c09b9a87 100644 --- a/src/com/android/camera/crop/CropActivity.java +++ b/src/com/android/camera/crop/CropActivity.java @@ -118,8 +118,6 @@ public class CropActivity extends Activity { if (intent.getData() != null) { mSourceUri = intent.getData(); startLoadBitmap(mSourceUri); - } else { - pickImage(); } } @@ -144,18 +142,6 @@ public class CropActivity extends Activity { } /** - * Opens a selector in Gallery to chose an image for use when none was given - * in the CROP intent. - */ - private void pickImage() { - Intent intent = new Intent(); - intent.setType("image/*"); - intent.setAction(Intent.ACTION_GET_CONTENT); - startActivityForResult(Intent.createChooser(intent, getString(R.string.select_image)), - SELECT_PICTURE); - } - - /** * Callback for pickImage(). */ @Override |