diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-08-18 17:31:54 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-08-18 18:30:10 -0700 |
commit | 2563b3b956673914332cbd167b00a23cb3f5db76 (patch) | |
tree | 3fd063271ea5d9ffcb8902b5933ca7a0bef7d1d9 /WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java | |
parent | c268148f06f5c6c30deb1678e74530ef5aa85a67 (diff) | |
download | android_packages_apps_Trebuchet-2563b3b956673914332cbd167b00a23cb3f5db76.tar.gz android_packages_apps_Trebuchet-2563b3b956673914332cbd167b00a23cb3f5db76.tar.bz2 android_packages_apps_Trebuchet-2563b3b956673914332cbd167b00a23cb3f5db76.zip |
Updating the ExifParsing code
> Using system implementation of ExifInterface to read orientation
> For inputstream, creating a temporary file with just the header
since the system API only supports file input
Change-Id: I19c94ff28e9d9bac14cd9b717de0ff165ba95595
Diffstat (limited to 'WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java')
-rw-r--r-- | WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java b/WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java index f2459dd3e..4727d0653 100644 --- a/WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java +++ b/WallpaperPicker/src/com/android/launcher3/WallpaperCropActivity.java @@ -318,7 +318,7 @@ public class WallpaperCropActivity extends BaseActivity implements Handler.Callb Resources res, int resId, final boolean finishActivityWhenDone) { // crop this image and scale it down to the default wallpaper size for // this device - int rotation = BitmapUtils.getRotationFromExif(res, resId); + int rotation = BitmapUtils.getRotationFromExif(res, resId, this); Point inSize = mCropView.getSourceDimensions(); Point outSize = WallpaperUtils.getDefaultWallpaperSize(getResources(), getWindowManager()); |