summaryrefslogtreecommitdiffstats
path: root/WallpaperPicker/src/com/android
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-02-12 09:46:41 -0800
committerSunny Goyal <sunnygoyal@google.com>2015-02-12 09:58:04 -0800
commit6f553b975fba69bd9e5fd58c4db2ba72b67192ee (patch)
tree20fafbcf50c6afdbb45635e65365d0823821bd6a /WallpaperPicker/src/com/android
parent45ba26036be64b6c7d7b851ef90e71cd976565b7 (diff)
downloadandroid_packages_apps_Trebuchet-6f553b975fba69bd9e5fd58c4db2ba72b67192ee.tar.gz
android_packages_apps_Trebuchet-6f553b975fba69bd9e5fd58c4db2ba72b67192ee.tar.bz2
android_packages_apps_Trebuchet-6f553b975fba69bd9e5fd58c4db2ba72b67192ee.zip
Fixing last image thumb, being loaded twice
Change-Id: I241e472a3f0869b82066163514fb2c29c0f18a8f
Diffstat (limited to 'WallpaperPicker/src/com/android')
-rw-r--r--WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java b/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
index 09e096396..043f6306b 100644
--- a/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
+++ b/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
@@ -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();