We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13a3a87 commit 8108e9fCopy full SHA for 8108e9f
policy/src/com/android/internal/policy/impl/IconUtilities.java
@@ -130,7 +130,7 @@ private Bitmap createIconBitmap(Drawable icon) {
130
int sourceWidth = icon.getIntrinsicWidth();
131
int sourceHeight = icon.getIntrinsicHeight();
132
133
- if (sourceWidth > 0 && sourceWidth > 0) {
+ if (sourceWidth > 0 && sourceHeight > 0) {
134
// There are intrinsic sizes.
135
if (width < sourceWidth || height < sourceHeight) {
136
// It's too big, scale it down.
0 commit comments