am a457211a: Merge "Fix getBuiltInWallpaper method" into klp-dev
* commit 'a457211af55b2ad5bc58f4228ceb147ac22c92b0': Fix getBuiltInWallpaper method
This commit is contained in:
@@ -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