summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/android/gallery3d/filtershow/FilterShowActivity.java2
-rw-r--r--src/com/android/gallery3d/filtershow/ui/IconButton.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/FilterShowActivity.java b/src/com/android/gallery3d/filtershow/FilterShowActivity.java
index 1e2bad34e..654175210 100644
--- a/src/com/android/gallery3d/filtershow/FilterShowActivity.java
+++ b/src/com/android/gallery3d/filtershow/FilterShowActivity.java
@@ -418,7 +418,7 @@ public class FilterShowActivity extends Activity implements OnItemClickListener,
cannotLoadImage();
}
- Bitmap bmap = mImageShow.getFilteredImage();
+ Bitmap bmap = mImageLoader.getOriginalBitmapSmall();
if (bmap != null && bmap.getWidth() > 0 && bmap.getHeight() > 0) {
float w = bmap.getWidth();
float h = bmap.getHeight();
diff --git a/src/com/android/gallery3d/filtershow/ui/IconButton.java b/src/com/android/gallery3d/filtershow/ui/IconButton.java
index 1ebc1abda..55dfb8043 100644
--- a/src/com/android/gallery3d/filtershow/ui/IconButton.java
+++ b/src/com/android/gallery3d/filtershow/ui/IconButton.java
@@ -65,6 +65,7 @@ public class IconButton extends Button {
public void setIcon(Bitmap image) {
mImageMirror = image;
stale_icon = true;
+ invalidate();
}
/**