diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2013-04-16 16:17:45 -0700 |
---|---|---|
committer | Ruben Brunk <rubenbrunk@google.com> | 2013-04-18 11:02:57 -0700 |
commit | c3178ca4daf7ed570f3432f3433959c208ecc105 (patch) | |
tree | ccba85f100374a19310909074b31487f64a953fc /src/com/android/gallery3d/app/PhotoPage.java | |
parent | c54e3418578d1419ff3370fa4ee38bdd43397ce1 (diff) | |
download | android_packages_apps_Gallery2-c3178ca4daf7ed570f3432f3433959c208ecc105.tar.gz android_packages_apps_Gallery2-c3178ca4daf7ed570f3432f3433959c208ecc105.tar.bz2 android_packages_apps_Gallery2-c3178ca4daf7ed570f3432f3433959c208ecc105.zip |
Gallery crop uses new activity. Fixed image quality.
Bug: 8639287
Bug: 8617799
Bug: 8600483
Bug: 8586301
Bug: 8526929
Bug: 8181859
Bug: 7561681
Change-Id: Ib275b970931dd324e93d1629be75e5309c9dcb4e
Diffstat (limited to 'src/com/android/gallery3d/app/PhotoPage.java')
-rw-r--r-- | src/com/android/gallery3d/app/PhotoPage.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java index 3e1835853..a6ed0d3cb 100644 --- a/src/com/android/gallery3d/app/PhotoPage.java +++ b/src/com/android/gallery3d/app/PhotoPage.java @@ -60,6 +60,7 @@ import com.android.gallery3d.data.SnailAlbum; import com.android.gallery3d.data.SnailItem; import com.android.gallery3d.data.SnailSource; import com.android.gallery3d.filtershow.FilterShowActivity; +import com.android.gallery3d.filtershow.crop.CropActivity; import com.android.gallery3d.picasasource.PicasaSource; import com.android.gallery3d.ui.DetailsHelper; import com.android.gallery3d.ui.DetailsHelper.CloseListener; @@ -1086,8 +1087,8 @@ public abstract class PhotoPage extends ActivityState implements } case R.id.action_crop: { Activity activity = mActivity; - Intent intent = new Intent(FilterShowActivity.CROP_ACTION); - intent.setClass(activity, FilterShowActivity.class); + Intent intent = new Intent(CropActivity.CROP_ACTION); + intent.setClass(activity, CropActivity.class); intent.setDataAndType(manager.getContentUri(path), current.getMimeType()) .setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); activity.startActivityForResult(intent, PicasaSource.isPicasaImage(current) |