mozilla-b2g/gaia — pull request #14342 by davidflanagan (2013-12-04 06:45:25+00:00)
Title: Bug 935273: don't decode full-size image during pick activity unless nec...

...essary

Modify ImageEditor to have a "crop only" mode where it displays
only a preview image and crop handles and does not do other image editing.
In this mode it does not decode the full-size image unless the user actually
crops the image.

Address review comments; handle orientation change; handle case where image has no preview
(cherry picked from commit 16079236610d093aec86c62243eb9987ab8d3dd6)

Conflicts:

apps/gallery/js/ImageEditor.js