Merge "Fix getBuiltInWallpaper method" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a457211af5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user