Fixing last image thumb, being loaded twice
Change-Id: I241e472a3f0869b82066163514fb2c29c0f18a8f
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user