Commit 7cc900cd authored by Amit Kumar's avatar Amit Kumar 💻
Browse files

Do not scale down intrinsic width and height

parent d1a87ac5
Pipeline #86892 passed with stage
in 8 minutes and 49 seconds
......@@ -786,7 +786,7 @@ public class AdaptiveIconDrawableCompat extends Drawable implements Drawable.Cal
@Override
public int getIntrinsicWidth() {
return (int) (getMaxIntrinsicWidth() * DEFAULT_VIEW_PORT_SCALE);
return (int) (getMaxIntrinsicWidth() * 1f);
}
private int getMaxIntrinsicWidth() {
......@@ -806,7 +806,7 @@ public class AdaptiveIconDrawableCompat extends Drawable implements Drawable.Cal
@Override
public int getIntrinsicHeight() {
return (int) (getMaxIntrinsicHeight() * DEFAULT_VIEW_PORT_SCALE);
return (int) (getMaxIntrinsicHeight() * 1f);
}
private int getMaxIntrinsicHeight() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment