diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-02-12 09:46:41 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-02-12 09:58:04 -0800 |
commit | 6f553b975fba69bd9e5fd58c4db2ba72b67192ee (patch) | |
tree | 20fafbcf50c6afdbb45635e65365d0823821bd6a /WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java | |
parent | 45ba26036be64b6c7d7b851ef90e71cd976565b7 (diff) | |
download | android_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/launcher3/WallpaperPickerActivity.java')
-rw-r--r-- | WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java | 3 |
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(); |