Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d170421 authored by Romain Guy's avatar Romain Guy Committed by android code review
Browse files

Merge "Fix wrong condition."

parents 13a3a87f 8108e9f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ final class IconUtilities {
        int sourceWidth = icon.getIntrinsicWidth();
        int sourceHeight = icon.getIntrinsicHeight();

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