diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2013-05-28 12:34:14 -0700 |
---|---|---|
committer | Ruben Brunk <rubenbrunk@google.com> | 2013-05-28 12:34:14 -0700 |
commit | 88741b480f3dece25ac06a87d3752e995bdd53c5 (patch) | |
tree | 00a2f84f32c0ecff189daa43623c14ee4fac817c /src/com/android/gallery3d/app | |
parent | 94472c3dc397cfa9a8fad5ba7628253ec6642ed6 (diff) | |
download | android_packages_apps_Snap-88741b480f3dece25ac06a87d3752e995bdd53c5.tar.gz android_packages_apps_Snap-88741b480f3dece25ac06a87d3752e995bdd53c5.tar.bz2 android_packages_apps_Snap-88741b480f3dece25ac06a87d3752e995bdd53c5.zip |
Removed unused handling for intent extras in editor.
Bug: 9170644
Change-Id: I569b16d278d1813f5a96f9e0231ed71ff9e33687
Diffstat (limited to 'src/com/android/gallery3d/app')
-rw-r--r-- | src/com/android/gallery3d/app/AlbumPage.java | 4 | ||||
-rw-r--r-- | src/com/android/gallery3d/app/Wallpaper.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/gallery3d/app/AlbumPage.java b/src/com/android/gallery3d/app/AlbumPage.java index 001ce87b7..658abbbd4 100644 --- a/src/com/android/gallery3d/app/AlbumPage.java +++ b/src/com/android/gallery3d/app/AlbumPage.java @@ -39,7 +39,7 @@ import com.android.gallery3d.data.MediaItem; import com.android.gallery3d.data.MediaObject; import com.android.gallery3d.data.MediaSet; import com.android.gallery3d.data.Path; -import com.android.gallery3d.filtershow.FilterShowActivity; +import com.android.gallery3d.filtershow.crop.CropActivity; import com.android.gallery3d.filtershow.crop.CropExtras; import com.android.gallery3d.glrenderer.FadeTexture; import com.android.gallery3d.glrenderer.GLCanvas; @@ -318,7 +318,7 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster Activity activity = mActivity; if (mData.getString(Gallery.EXTRA_CROP) != null) { Uri uri = dm.getContentUri(item.getPath()); - Intent intent = new Intent(FilterShowActivity.CROP_ACTION, uri) + Intent intent = new Intent(CropActivity.CROP_ACTION, uri) .addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT) .putExtras(getData()); if (mData.getParcelable(MediaStore.EXTRA_OUTPUT) == null) { diff --git a/src/com/android/gallery3d/app/Wallpaper.java b/src/com/android/gallery3d/app/Wallpaper.java index 91bc77271..b0a26c236 100644 --- a/src/com/android/gallery3d/app/Wallpaper.java +++ b/src/com/android/gallery3d/app/Wallpaper.java @@ -26,7 +26,7 @@ import android.os.Bundle; import android.view.Display; import com.android.gallery3d.common.ApiHelper; -import com.android.gallery3d.filtershow.FilterShowActivity; +import com.android.gallery3d.filtershow.crop.CropActivity; import com.android.gallery3d.filtershow.crop.CropExtras; /** @@ -100,7 +100,7 @@ public class Wallpaper extends Activity { Point size = getDefaultDisplaySize(new Point()); float spotlightX = (float) size.x / width; float spotlightY = (float) size.y / height; - Intent request = new Intent(FilterShowActivity.CROP_ACTION) + Intent request = new Intent(CropActivity.CROP_ACTION) .setDataAndType(mPickedItem, IMAGE_TYPE) .addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT) .putExtra(CropExtras.KEY_OUTPUT_X, width) |