Skip to content

Commit 565e3e7

Browse files
Romain GuyAndroid Git Automerger
authored andcommitted
am 4094fb3: am 8d17042: Merge "Fix wrong condition."
* commit '4094fb3c5b95c88d689238cbf0a9e2c169a5e557': Fix wrong condition.
2 parents d1cdfb3 + 4094fb3 commit 565e3e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

policy/src/com/android/internal/policy/impl/IconUtilities.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private Bitmap createIconBitmap(Drawable icon) {
130130
int sourceWidth = icon.getIntrinsicWidth();
131131
int sourceHeight = icon.getIntrinsicHeight();
132132

133-
if (sourceWidth > 0 && sourceWidth > 0) {
133+
if (sourceWidth > 0 && sourceHeight > 0) {
134134
// There are intrinsic sizes.
135135
if (width < sourceWidth || height < sourceHeight) {
136136
// It's too big, scale it down.

0 commit comments

Comments
 (0)