Merge change Ic1d72f56 into eclair-mr2
* changes: Make createThumbnailFromEXIF prefer choosing a thumbnail from the exif to from the full image, if both can generate of a thumbnail of same size.
This commit is contained in:
@ -562,7 +562,7 @@ public class ThumbnailUtil {
|
||||
fullThumbWidth = fullOptions.outWidth / fullOptions.inSampleSize;
|
||||
|
||||
// Choose the larger thumbnail as the returning sizedThumbBitmap.
|
||||
if (exifThumbWidth > fullThumbWidth) {
|
||||
if (exifThumbWidth >= fullThumbWidth) {
|
||||
int width = exifOptions.outWidth;
|
||||
int height = exifOptions.outHeight;
|
||||
exifOptions.inJustDecodeBounds = false;
|
||||
|
Reference in New Issue
Block a user