commit | 6f553b975fba69bd9e5fd58c4db2ba72b67192ee | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Thu Feb 12 09:46:41 2015 -0800 |
committer | Sunny Goyal <sunnygoyal@google.com> | Thu Feb 12 09:58:04 2015 -0800 |
tree | 20fafbcf50c6afdbb45635e65365d0823821bd6a | |
parent | 45ba26036be64b6c7d7b851ef90e71cd976565b7 [diff] |
Fixing last image thumb, being loaded twice Change-Id: I241e472a3f0869b82066163514fb2c29c0f18a8f
diff --git a/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java b/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java index 09e0963..043f630 100644 --- a/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java +++ b/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
@@ -500,10 +500,9 @@ 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();