Permalink
Browse files

Use transformend size to get bitmap in slideshow

Change-Id: I0ff77c87147eef0908275649b88f5a6a82c554ab
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
  • Loading branch information...
cxr514033970 authored and Gerrit Code Review committed Sep 27, 2012
1 parent 3858272 commit 7459fa20925be3d348dcfd58bd1ecea59798c315
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/android/mms/ui/SlideshowPresenter.java
@@ -200,7 +200,7 @@ protected void presentImage(SlideViewInterface view, ImageModel image,
}
if (dataChanged) {
- view.setImage(image.getSrc(), image.getBitmap(r.getWidth(), r.getHeight()));
+ view.setImage(image.getSrc(), image.getBitmap(transformedWidth, transformedHeight));
}
if (view instanceof AdaptableSlideViewInterface) {

0 comments on commit 7459fa2

Please sign in to comment.