Fixing last image thumb, being loaded twice

Change-Id: I241e472a3f0869b82066163514fb2c29c0f18a8f
This commit is contained in:
Sunny Goyal
2015-02-12 09:46:41 -08:00
parent 45ba26036b
commit 6f553b975f
@@ -500,10 +500,9 @@ public class WallpaperPickerActivity extends WallpaperCropActivity {
if (lastPhoto != null) {
ImageView galleryThumbnailBg =
(ImageView) pickImageTile.findViewById(R.id.wallpaper_image);
galleryThumbnailBg.setImageBitmap(getThumbnailOfLastPhoto());
galleryThumbnailBg.setImageBitmap(lastPhoto);
int colorOverlay = getResources().getColor(R.color.wallpaper_picker_translucent_gray);
galleryThumbnailBg.setColorFilter(colorOverlay, PorterDuff.Mode.SRC_ATOP);
}
PickImageInfo pickImageInfo = new PickImageInfo();