diff options
author | Wu-cheng Li <wuchengli@google.com> | 2009-07-30 17:14:34 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2009-07-30 17:24:55 +0800 |
commit | 640ad87bf4945f5baa22ef1e02eb1c4ac7fd3ef7 (patch) | |
tree | 461a5748a120e19aed980442e32ef4326c9b0816 /src/com/android/camera/ImageGallery.java | |
parent | 62f1a2287bcbc2a6928235f4e3cb8c8cefbbe6e4 (diff) | |
download | LegacyCamera-640ad87bf4945f5baa22ef1e02eb1c4ac7fd3ef7.zip LegacyCamera-640ad87bf4945f5baa22ef1e02eb1c4ac7fd3ef7.tar.gz LegacyCamera-640ad87bf4945f5baa22ef1e02eb1c4ac7fd3ef7.tar.bz2 |
Make CropImage support fullscreen extra.
b2022570. When returning from a full-screen activity to a non-full-screen one, screen jumps a little and scroll bars are partially off screen. This is a work-around to prevent the issue.
Diffstat (limited to 'src/com/android/camera/ImageGallery.java')
-rw-r--r-- | src/com/android/camera/ImageGallery.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/ImageGallery.java b/src/com/android/camera/ImageGallery.java index 95b2ff8..795fcc2 100644 --- a/src/com/android/camera/ImageGallery.java +++ b/src/com/android/camera/ImageGallery.java @@ -296,6 +296,7 @@ public class ImageGallery extends Activity implements if (cropValue.equals("circle")) { newExtras.putString("circleCrop", "true"); } + newExtras.putBoolean(MediaStore.EXTRA_FULL_SCREEN, true); Intent cropIntent = new Intent(); cropIntent.setData(img.fullSizeImageUri()); |