Merge "Fix getBuiltInWallpaper method" into klp-dev

This commit is contained in:
Michael Jurka
2013-10-15 03:49:13 +00:00
committed by Android (Google) Code Review

View File

@@ -461,7 +461,7 @@ public class WallpaperManager {
float right = left + outWidth;
float top = (inHeight - outHeight) * verticalAlignment;
float bottom = top + outHeight;
cropRectF = new RectF(bottom, left, right, top);
cropRectF = new RectF(left, top, right, bottom);
}
Rect roundedTrueCrop = new Rect();
cropRectF.roundOut(roundedTrueCrop);